XPSExportParams Object (IXPSExportParams Interface)

This object provides functionality for tuning of parameters of recognized text export to XPS format by means of ABBYY FineReader Engine export functions.

A pointer to this object is passed into the export methods as an input parameter, affecting the results of export. All properties of a newly created object of this type are set to reasonable defaults. For information about the default value of any specific property, see the description of that property.

The XPSExportParams object is a persistent object. This means that the object's current state can be written to persistent storage: an area in the global memory or a disk file. Later, the object can be re-created by reading the object's state from persistent storage. The following methods provide persistence of the object: SaveToFile, LoadFromFile, SaveToMemory, and LoadFromMemory.


Name Type Description
Application Engine, read-only Returns the Engine object.
Common settings
TextExportMode XPSExportModeEnum

Specifies the mode of export to XPS format.

The default value of this property is XEM_ImageOnText.

PaperSizeParams PaperSizeParams, read-only Specifies paper height and width.
MetaDataWritingParams DocumentContentInfoWritingParams, read-only Specifies if the author, subject, title, and keywords of the document should be written into the output XPS file. These parameters of the document are defined in the DocumentContentInfo subobject of the FRDocument object.
Pictures export
PictureExportParams PictureExportParams, read-only Specifies the image format and JPEG quality which should be used during export.


Name Description
CopyFrom Initializes properties of the current object with values of similar properties of another object.
LoadFromFile Restores the object contents from a file on disk.
LoadFromMemory Restores the object contents from the global memory.
SaveToFile Saves the object contents into a file on disk.
SaveToMemory Saves the object contents into the global memory.

Related objects

Object Diagram

Output parameter

This object is the output parameter of the CreateXPSExportParams method of the Engine object.

Input parameter

This object is passed as the input parameter to the following methods:


The object is used in the following code samples: CommandLineInterface.

See also

Tuning Export Parameters

Working with Profiles

Working with Properties

24.03.2023 8:51:52

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.