DocumentPages.prototype.createPage = function(
size,
resolution
)
createPage(
size: LeadSizeD,
resolution: number
): DocumentPage;
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 to 0. A value of 0 means to use the default resolution of 96.
The newly created page.
Use this method to create new pages to be added in this LEADDocument. 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 Add or Insert to add the page.
The returned DocumentPage set as its size as its Resolution.
size is in document units, refer to Document Library Coordinate System for more information.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document
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.