The CompatibilityOptions type exposes the following members.

Properties

  Name Description
Public property BordersMode
Gets or sets a valud specifying how borders affect the layout of objects in a document.

See BordersModeEnum for details.

The default value is Default.

Public property HeaderFooterWidthAsTotalColumnWidth
Gets or sets a value indicating whether the widths of page headers and footers should be equal to the sum of the widths of all page columns. The default is false. Set this property to true to improve compatibility with C1Report.
Public property KeepImages
Specifies whether images in a document dictionary are kept as Image objects. Set this property to false to save images as raw data to optimize memory usage.
Public property TopLevelPositionRelativeToPageMargins
Gets or sets a value indicating whether absolute coordinates of top-level objects in the document are relative to page margins or to physical page bounds.

The default value of this property is false, which indicates the traditional behavior with coordinates relative to page edges. If set to true, coordinates are considered relative to page margins.

For instance, if this property is false (default), all page margins are 1 in, and a top-level object's X coordinate is specified as ".5in", the object would be located 0.5in from the left edge of the page - i.e. in the middle of the left page margin.

If this property is set to true, the same object would be located 0.5in to the right of the left page margin - 1.5in from the left edge of the page.

Public property WhiteRtfBackground
Gets or sets the value indicating whether RTF objects fill the background with white, or use the specified background color. The default is false.

See Also