|
|
thanks a lot !!
|
|
|
Well... for example ... set the background color for the PdfView control, and then change the color for all objects on the page. The sample code below: Code:pdfView1.PdfBackColor = Color.Black;
var page = pdfView1.Document.Pages[pdfView1.CurrentPage];
foreach( var obj in page.PageObjects)
{
if (obj is PdfPathObject)
{
obj.StrokeColor = Color.Green;
obj.FillColor = Color.Black;
}
else
obj.FillColor = Color.Green;
}
Before and after
|
|
|
ok thanks and how can i do that with my viewer for entire document please ?
|
|
|
|
|
|
Hi everyone,
Is it possible to change the color of pdf content ?
Thank you
|
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close