[]
        
(Showing Draft Content)

C1.C1Preview.C1PrintOptions

C1PrintOptions Class

Describes options controlling how a document's content is to be printed (or previewed).

Inheritance
C1PrintOptions
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public class C1PrintOptions : INotifyPropertyChanged, IComponent, IDisposable

Constructors

Name Description
C1PrintOptions()

Properties

Name Description
AutoPaperSize

Gets or sets a value indicating whether the paper size is selected automatically.

The default value is false.

AutoPaperSource

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

The default value is false.

AutoRotate

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

The default value is true.

CenterPage

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

The default value is true.

DrawPrintableAreaBounds

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

MsPrintDocumentPrintEmfType

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.

PageScaling

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

The default value is ReduceToPaper.

PrintAsBitmap

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

PrintableAreaBoundsPen

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

Events

Name Description
PropertyChanged

Occurs when a property on the current C1PrintOptions object changes.

See Also