evCreate API 5.7 Help

EvPdfOptions Interface

The EvPdfOptions TS interface defines a blueprint of a JS object that describes the policies for handling the text imported from a PDF file.

Properties

An EvPdfOptions object has the following properties:

optional clippingPathRemoval: boolean;

A Boolean, a switch to specify whether or not to remove clipping paths. The default value is "true", which is to remove.

optional embeddedFonts: EvPdfEmbeddedFontsOptions;

A member of the EvPdfEmbeddedFontsOptions enumeration, a policy for handling the fonts embedded in a PDF file when these fonts are not available on the target system. The default value is "substitute" (EvPdfEmbeddedFontsOptions.substitute).

optional textFlow: EvPdfTextFlowOptions;

A member of the EvPdfTextFlowOptions enumeration, a policy for handling the text flow. The default value is "disabled" (EvPdfTextFlowOptions.Disabled).

optional textMerging: EvPdfTextMergingOptions;

A member of the EvPdfTextMergingOptions enumeration, a policy for determining word boundaries. The default value is "disabled" (EvPdfTextMergingOptions.Disabled).

Examples

TS

{ clippingPathRemoval: false, embeddedFonts: EvPdfEmbeddedFontsOptions.convertToPaths, textFlow: EvPdfTextFlowOptions.ContinuousFlow, textMerging: EvPdfTextMergingOptions.Precise }

JS

{ clippingPathRemoval: false, embeddedFonts: "convert_to_paths", textFlow: "continuous_flow", textMerging: "precise" }
12 February 2025