Hint to the loader that the document may contain pages with different sizes.
public bool MayHaveDifferentPageSizes {get; set;}
Public Property MayHaveDifferentPageSizes() As Boolean
Get
Set
public:
property bool MayHaveDifferentPageSizes
{
bool get()
void set(bool value)
}
public boolean getMayHaveDifferentPageSizes()
public void setMayHaveDifferentPageSizes(boolean value)
true if the document may contain pages with different sizes; otherwise, false. Default value is false.
The document factory tries to create a valid LEADDocument object and return it to the user as quickly as possible. During the load operation, the Pages instance must be initialized with page size and resolution. By default, the factory will parse the first page in the document, obtain its size and resolution and then re-use the same value for all pages. This done to speed up the loading process and return control to the user as soon as possible.
Some document formats such as TIF, Microsoft Office formats, and PDF support having pages with different sizes. Although rare, the above approach may result in creating pages with a wrong size (equal to the size of the first page). Having pages with the wrong size will not affect generating the images or SVG data for the page. However, it may be required in other scenarios such as when parsing text or using annotations. If you have documents that contain different page sizes then it is best to set the value of MayHaveDifferentPageSizes to true. The factory will then get the size and resolution information for each page individually, which may result in a slower load operation.
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