[]
        
(Showing Draft Content)

C1.WPF.Document.CompatibilityOptions

CompatibilityOptions Class

Defines the compatibility options for C1PrintDocument. Contains properties specifying compatibility with previous versions of C1PrintDocument.

Inheritance
CompatibilityOptions
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class CompatibilityOptions

Constructors

Name Description
CompatibilityOptions()

Properties

Name Description
BordersMode

Gets or sets a valud specifying how borders affect the layout of objects in a document.

See C1.WPF.Document.BordersModeEnum for details.

The default value is C1.WPF.Document.BordersModeEnum.Default.

ClipPage
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.

UseGdiCompatibleTextLayout

Indicates whether to use direct write gdi compatible text layout to render the text.

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.

Methods

Name Description
AssignFrom(CompatibilityOptions)

Copies properties from another object into this object.

Reset()

Resets properties of this object to default values.