Using the latest build after purchasing. However InitialPage doesn't appear to ever start on page 1. It always defaults to page 2 when viewing the document. In a previous thread it was mentioned that this was fixed.
InitialPage
Re: InitialPage
Forum member · Apr 29, 2011Seems taking off the page zoom fixed this. Just an FYI
Re: InitialPage
Support · Apr 29, 2011Hello,
We did some testing on our end and we are able to open the PDF document with starting page 1 without any problem. Below is the code which we have used for our testing.
Document document = new Document();
for (int i = 0; i < 6; i++)
{
Page page = new Page();
Label label = new Label("Page "+(i+1), 100, 100, 100, 20);
page.Elements.Add(label);
document.Pages.Add(page);
}
document.InitialPage = 1;
document.InitialPageZoom = PageZoom.FitHeight;
document.Draw(@"C:\MyDocument.pdf");
Thanks,
ceTe Software Support Team.