PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintOptions Class
Properties Events


In This Topic
    C1PrintOptions Class Members
    In This Topic

    The following tables list the members exposed by C1PrintOptions.

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether the paper size is selected automatically.

    The default value is false.

     
    Public PropertyGets or sets a value indicating whether the paper source is selected automatically.

    The default value is false.

     
    Public PropertyGets or sets a value indicating whether pages should be auto-rotated to better fit the paper during printing.

    The default value is true.

     
    Public PropertyGets or sets a value indicating whether the page should be centered on paper during printing.

    The default value is true.

     
    Public PropertyGets or sets a value indicating whether a line is drawn around the printable area of the page. This may be useful for diagnostic purposes. PrintableAreaBoundsPen is used to draw the line. The default is false.  
    Public Propertystatic (Shared in Visual Basic)Gets or sets the type of metafiles used when printing standard .NET PrintDocument documents.

    The default is EmfType.EmfPlusDual.

    If your printer needs to scan the output for data (e.g. a fax number; a case in point is Tobit Faxware) and fails, try setting this to EmfType.EmfOnly.

    Note that this property ONLY affects printing of standard .NET PrintDocument documents, and has no bearing on other supported document types.

     
    Public PropertyGets or sets the value indicating the manner in which pages are scaled during printing.

    The default value is PageScalingEnum.ReduceToPaper.

     
    Public PropertyGets or sets the pen used to draw printable area bounds if DrawPrintableAreaBounds is true. If this value is null (which is the default), a single-pixel black pen is used.  
    Public PropertyGets or sets a value indicating whether page metafiles should be converted to bitmaps and clipped to printer's hard margins prior to printing.

    The default value is false.

    Normally document pages are sent to printer as metafiles. If a page exceeds the printable area of a printer, problems may occur with some printer drivers when the page is printed. In those cases set this property to true.

     
    Top
    Public Events
     NameDescription
    Public EventOccurs when a property on the current C1PrintOptions object changes.  
    Top
    See Also