Creates a new DocumentPage
public DocumentPage CreatePage(
LeadSizeD size,
double resolution
)
Public Function CreatePage(
ByVal size As LeadSizeD,
ByVal resolution As Double
) As DocumentPage
public:
DocumentPage^ CreatePage(
LeadSizeD^ size,
double resolution
)
public DocumentPage createPage(LeadSizeD size, double resolution)
size
Size of the new page in document units. Cannot be empty (Empty).
resolution
The resolution of the new page in dots per inch (DPI). Must be greater than or equal 0. A value of 0 means
default resolution of 96.
The newly created page.
Use this method to create new pages to be add in this Document. The constructor of DocumentPage is not accessible and this is the only method that allows you to create a DocumentPage.
The created page is not added automatically, to the document you must use System.Collections.ObjectModel.Collection.Add or System.Collections.ObjectModel.Collection.Insert) to add the page.
The returned DocumentPage does not have any data. It will only have size set as its Size and resolution as its Resolution. You must add the page to the collection before updating its data such as setting the image using SetImage or annotations using SetAnnotations.
sizeis in document units, refer to Documents Library Coordinate System for more information.
For an example, refer to DocumentFactory.Create.
Products |
Support |
Feedback: CreatePage Method (DocumentPages) - Leadtools.Documents |
Introduction |
Help Version 19.0.2017.3.22
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.