C1.C1Preview Namespace : CompatibilityOptions Class |
The following tables list the members exposed by CompatibilityOptions.
Name | Description | |
---|---|---|
CompatibilityOptions Constructor |
Name | Description | |
---|---|---|
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 BordersModeEnum.Default. | |
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. | |
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. | |
StretchBarCodesAsImages | Gets or sets a value indicating whether to stretch barcodes as images.
The default value is false, which is compatible with previous versions. | |
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. | |
UseGdiLinesInPdfExport | Gets or sets a value indicating whether GDI functions should be used to draw lines when rendering for output to PDF. The default value is false. Setting this property to true may result in much smaller file sizes in documents containing many dashed/dotted lines. | |
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. |
Name | Description | |
---|---|---|
AssignFrom | Copies properties from another object into this object. | |
Reset | Resets properties of this object to default values. |