Menu

#11 pdfColor.NoColor

open
nobody
None
5
2007-11-29
2007-11-29
Anonymous
No

The setting of pdfColor.NoColor gives the same result as pdfColor.Black

The following unstruction (page = a pdfPage)

// draw a nice box
page.drawRectangle(X1,Y1,X2,Y2,sharpPDF.pdfColor.Black,sharpPDF.pdfColor.NoColor,1);

results in a totally black box.

My cuurent way around it is using the color white.
// draw a nice box
page.drawRectangle(X1,Y1,X2,Y2,sharpPDF.pdfColor.Black,sharpPDF.pdfColor.White,1);

That however overlays any tekst already on the form.

Regards,

Ferry van den Heuvel

Discussion


Log in to post a comment.

MongoDB Logo MongoDB