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.
Unfortunately, activation email could not send to your email. Please try again.

PageScale and PageUnit

Thread ID:

Created:

Updated:

Platform:

Replies:

92391 Jan 12,2010 06:29 AM Jan 23,2010 07:37 AM ASP.NET Web Forms (Classic) 1
loading
Tags: PDF
Barbara Tacchino
Asked On January 12, 2010 06:29 AM

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

Meiyappan R [Syncfusion]
Replied On January 23, 2010 07:37 AM

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

CONFIRMATION

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.

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.

;