Determines how empty pages are treated during the conversion.
Object.defineProperty(DocumentConverterJobData.prototype, 'emptyPageMode',
get: function(),
set: function(value)
)
emptyPageMode: DocumentConverterEmptyPageMode;
Determines how empty pages are treated during the conversion. Default value is DocumentConverterEmptyPageMode.None.
This option controls how the document converter treats empty pages during the conversion as follows:
Value | Description |
---|---|
Do not do anything special. No detection is performed and empty pages will be added to the output document and the result is guaranteed to have same number of pages as the input. This is the default behavior. |
|
Empty pages are skipped and not added to the final document. If the user instructs the converter to use the annotations during conversion, then any page that is empty but has an annotation container with objects is considered none-empty and is added to the output document. |
|
Similar to Empty with the annotations ignored. Empty pages are skipped even if they have annotations. |
The document converter uses the following to detect if a page is empty:
If raster conversion is used, a blank page detector image processing command is run on the raster image to detect if the page is empty. The default options only detects if the page is fully empty.
If SVG conversion is used, the converter will enumerate all the elements in the page's SVG document object. The page is considered empty if
it does not contain any elements besides the root <svg>
element.
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