Creates a new DocumentPage
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 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 Add or Insert to add the page.
The returned DocumentPage set as its size as its Resolution.
size is in document units, refer to Documents Library Coordinate System for more information.
For an example, refer to DocumentFactory.Create.
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