Error processing SSI file
LEADTOOLS Leadtools.Documents (Leadtools.Documents assembly)

EmptyPageMode Property

Show in webframe
Determines how empty pages are treated during the conversion.
Syntax
get_emptyPageMode();
set_emptyPageMode(value);
Object.defineProperty('emptyPageMode');

Property Value

TypeDescription
DocumentConverterEmptyPageModeDetermines how empty pages are treated during the conversion. Default value is DocumentConverterEmptyPageMode.None.
Remarks

This option controls how the document converter treats empty pages during the conversion as follows:

Value Description
DocumentConverterEmptyPageMode.None

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.

DocumentConverterEmptyPageMode.Skip

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.

DocumentConverterEmptyPageMode.SkipIgnoreAnnotations

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:

See Also

Reference

DocumentConverterJobData Object
DocumentConverterJobData Members

Error processing SSI file