We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Rendering Quality

Thread ID:

Created:

Updated:

Platform:

Replies:

47473 Aug 4,2006 07:49 PM UTC Mar 23,2007 06:03 AM UTC WinForms 10
loading
Tags: Diagram
David Whatley
Asked On August 4, 2006 07:49 PM UTC

Is there some way to improve the rendering quality? Essentially to enable antialiasing. Looking at all the samples, heck even the screen shots, it is extremely ragged along the edges (even discounting for the "programmer art" problem in these demos).

-- David

Administrator [Syncfusion]
Replied On August 4, 2006 08:09 PM UTC


Hi David,

The Diagram.Model.RenderingStyle.SmoothingMode property will let you improve the rendering quality by setting the desired value to it. This is used to specify whether smoothing (antialiasing) is applied to lines and curves and the edges of filled areas.

Please let me know whether the above information helps you.

Thanks for your continued support to Syncfusion.

Best Regards,
Meera.

David Whatley
Replied On August 4, 2006 08:47 PM UTC

Well that''s certainly the property I was looking for... but setting it AntiAlias nor HighQuality seems to have any impact on the visuals. They are still as "jaggy" as always. Am I missing something?

-- David

David Whatley
Replied On August 5, 2006 05:06 PM UTC

So turns out... if you modify the property in code it works... but if you set it in the properties during design time it doesn''t. Bug?

-- David

Administrator [Syncfusion]
Replied On August 7, 2006 02:13 PM UTC

Hi David,

Thanks for your patience.

I was not able to reproduce the condition mentioned by you.Please look into the attached screen shots(DefaultRendering.bmp, HighQualityRendering.bmp) where you can find the SmoothingMode property in Properties Window set by me to different values during the design(in Window behind the Run Window).You can also visualize the difference between the Default and HighQuality SmoothingMode in that screen shots.I tried to reproduce this issue in v4.2.0.60(latest version) and v4.2.0.37(older version) .If you are using any of our older versions if possible please try to upgrade to our latest version.

Let me know if you have any queries.

Thanks,
Ramya.

Rendering.zip

David Whatley
Replied On August 8, 2006 04:15 PM UTC

Using .37, and it doesn''t work when I set it via the properties only if I set it via code. Strange. I can work around it, so I''m not worried about it.

-- David

Administrator [Syncfusion]
Replied On August 9, 2006 05:45 AM UTC

Hi David,

I am happy that you got the issue resolved.However, I didn''t find any difficulty setting Model.RenderingStyle.SmoothingMode Property during the design which I tested in v4.2.0.37.

Thanks for your continued support to Syncfusion.

Thanks & Regards,
Ramya.

Michael
Replied On March 16, 2007 05:29 PM UTC

Ramya,

I came across this older thread. I have to change the settings through code to have any effect. I am running 4.4.0.51.

Michael

J.Nagarajan [Syncfusion]
Replied On March 17, 2007 09:34 AM UTC

Hi Michael,

Thanks for your interest in Syncfusion products.

You can use the following code snippet after the InitializeComponent() to Programmatically set the rendering style.

this.diagram1.Model.RenderingStyle.SmoothingMode=System.Drawing.Drawing2D.SmoothingMode.AntiAlias;

I hope this will meet your requirement.

Please let me know if you have any questions.

Regards,
Nagaraj

Michael
Replied On March 23, 2007 12:49 AM UTC

Nagaraj

I am sorry Nagaraj. I was not clear. I meant that I can only change the rendering quality through code. Setting it in design time has no effect.

Ramya R [Syncfusion]
Replied On March 23, 2007 06:03 AM UTC

Hi Michael,

I was not able to reproduce the condition that you have mentioned here.

I was able to set the RenderingStyle at design time and view the changes at the output.

Kindly take a look at the attached sample and video file.

You can download the sample and video file from the below given Webpage link,

http://websamples.syncfusion.com/samples/Diagram.Windows/F47473/main.htm

Could you please modify the sample to reproduce the condition that you have mentioned here and send it back to us, so that it would be helpful to us in analyzing the issue?

Let me know if you have any queries.

Thanks & Regards,
Ramya.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;