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. Image for the cookie policy date

PdfLinearGradientBrush.Blend error

Hi,

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 7.4.0.20.

Regards,

Nicolas

1 Reply

PJ Pravin Joshua D Syncfusion Team 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.

Regards,
Pravin Joshua D

Loader.
Live Chat Icon For mobile
Up arrow icon