PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / CompatibilityOptions Class
Properties Methods


In This Topic
    CompatibilityOptions Class Members
    In This Topic

    The following tables list the members exposed by CompatibilityOptions.

    Public Constructors
    Public Properties
     NameDescription
    Public PropertyGets 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.

     
    Public PropertyGets 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 PropertySpecifies 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 PropertyGets or sets a value indicating whether to stretch barcodes as images.

    The default value is false, which is compatible with previous versions.

     
    Public PropertyGets 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 PropertyGets 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.  
    Public PropertyGets or sets the value indicating whether RTF objects fill the background with white, or use the specified background color. The default is false.  
    Top
    Public Methods
     NameDescription
    Public MethodCopies properties from another object into this object.  
    Public MethodResets properties of this object to default values.  
    Top
    See Also