PageScale and PageUnit

Using Syncfusion.Pdf.Graphics.Graphics object is it possible to set page measure unit and page scale, as we can do using System.Drawing.Graphics ?

System.Drawin.Graphics myGraphics;
....
myGraphics.PageUnit = GraphicsUnit.Millimeter;
myGraphics.PageScale = 1;
....


Best regards,

Barbara

1 Reply

MR Meiyappan R Syncfusion Team January 23, 2010 12:37 PM UTC

Hi Barbara,

Thank you for your interest in syncfusion products.

We can set the page scale using the scaleTransform method in PdfGraphics class.And we can manually set the page size in following units:

1.Point
2.Inch
3.Document
4.Millimeter
5.Pixel
6.Centimeter
7.Pica

Could you please look into the sample from the below link.

http://help.syncfusion.com/samples/pdf/HelloWorld.zip

Regards
Meiyappan

Loader.
Up arrow icon