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

PdfLinearGradientBrush.Blend error

Thread ID:





93288 Mar 8,2010 04:39 PM UTC Mar 11,2010 10:15 AM UTC WinForms 1
Tags: PDF
Asked On March 8, 2010 04:39 PM UTC


I can't define the Blend property of the PdfLinearGradientBrush class.

I tried :

PdfLinearGradientBrush brush = new PdfLinearGradientBrush(...);
brush.Blend = new PdfBlend();

but I get a NullReferenceException error.

And if I try :

PdfLinearGradientBrush brush = new PdfLinearGradientBrush(...);
PdfBlend blend = new PdfBlend();
brush.Blend = blend;

the PdfBlend object is instanciated but can't be applied to the Blend property. The program remains blocked on the last line, no error is triggered.

Is this a known issue ? What is the solution ?

I works with VS 2005 and Essential Studio



Pravin Joshua D [Syncfusion]
Replied On March 11, 2010 10:15 AM UTC

Hi Nicolas,

Thank you for your interest in Syncfusion products.

We were able to reproduce the mentioned issue and we suspect that this could be a defect.

Could you please report these issues through Direct Trac Developer Support Systemhttps://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents because you can take the advantage of the expertise of a dedicated support engineer and a guaranteed response time and we hope you will take advantage of this system as well. If you have already reported, please ignore this.

Please let us know if you have any other questions.

Pravin Joshua D


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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