Assembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
Remarks
The CurrentPage property determines which page of the document should receive the output from the methods that generate content (e.g. DrawString(String, Font, Color, Rect, StringFormat)).
The value is an integer ranging from -1 (no active page) to Pages.Count - 1.
You rarely have to use the CurrentPage property while creating a document. When a C1PdfDocument object is created, a blank page is automatically added and becomes the current page, so you can immediately start adding content to it. When the NewPage()()()() method is invoked, a new page is added to the document and becomes the current page.
The CurrentPage property is useful when you want to reopen pages that have already been generated and add content to them (for example, page headers and footers).