KM
Karthik M
Syncfusion Team
March 11, 2010 08:38 AM UTC
Hi Vijay,
Could you please clarify whether you are looking for changing the default zoom factor of the generated document ? If so, the following code-snippet would do that.
[Code Snippet]
//Create a new document.
PdfDocument document = new PdfDocument();
//Add a new page to the document.
PdfPage page = document.Pages.Add();
//Create a new destination and set its zoom factor.
PdfDestination dest = new PdfDestination(page);
dest.Zoom = 3f;
//Add action to the document.
document.Actions.AfterOpen = new PdfGoToAction(dest);
//Save and close the document.
document.Save("Sample.pdf");
document.Close(true);
If this is not what you are looking for, then could you please provide us some further details on what you are trying to achieve along with the sample pdf documents.
Thanks,
Karthik