Hint to the loader that the document may contain pages with different size.
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 size, otherwise; false. Default value is false.
The document factory tries to create a value Document object and return it to the user as quickly as possible. During the load operation, the Pages instance that must be initialized with the page size and resolution. By default, the factory will parse the first page in the document, obtain the 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 effect generating the images or SVG data for 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 recommended 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.
For an example, refer to DocumentFactory.LoadFromFile or DocumentFactory.LoadFromUri.
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.