Search
PrintOptions Members
Constructors Properties Methods
 


Allows customization of various aspects of printing and print-preview.

The following tables list the members exposed by the PrintOptions type.

 Public Constructors

  Name Description

PrintOptions

Overloaded.  

 Public Properties

  Name Description

CatchGdiPlusExceptions

Specifies whether to catch GDI+ exceptions. (Inherited from RenderOptions.)

DocumentName

Gets or sets the name of the printed document.

EnableAnchors

Gets or sets a value indicating whether the printing of anchor point marks is enabled. (Inherited from RenderOptions.)

EnableBackground

Gets or sets a value indicating whether the printing of the background color is enabled. (Inherited from RenderOptions.)

EnableBackgroundImage

Gets or sets a value indicating whether the printing of the background image is enabled. (Inherited from RenderOptions.)

EnableEffects

Enables or disables special effects, such as emboss. (Inherited from RenderOptions.)

EnableGrid

Gets or sets a value indicating whether the alignment grid is rendered. (Inherited from RenderOptions.)

EnableImages

Gets or sets a value indicating whether the printing of images that are displayed in nodes is enabled. (Inherited from RenderOptions.)

EnableInterior

Gets or sets a value indicating whether the printing of node interiors is enabled. (Inherited from RenderOptions.)

EnableShadows

Gets or sets a value indicating whether the printing of the shadows of diagram items is enabled. (Inherited from RenderOptions.)

EnableText

Gets or sets a value indicating whether the printing of the text of diagram items is enabled. (Inherited from RenderOptions.)

FromDiagramPage

Gets or sets the index of the first DiagramPage to print in a TabbedDiagramView, or null, to print from the first page in the view.

HeaderFormat

Specifies the format of page headers.

HyperLinkStyle

Specifies how various export components should treat the HyperLink property of items. (Inherited from RenderOptions.)

HyperLinkTarget

Specify the value of the target attribute generated by various export components for the HyperLink property of items.
(Inherited from RenderOptions.)

InternalMsg

For internal use. (Inherited from RenderOptions.)

Margins

Gets or sets the margins for the printed pages.

MeasureUnit

Specifies the diagram's unit of measure. (Inherited from RenderOptions.)

PaintControls

Gets or sets a value indicating whether to execute custom painting code for ControlNode items when printing. (Inherited from RenderOptions.)

RenderTarget

Gets or sets the rendering target. (Inherited from RenderOptions.)

Scale

Gets or sets the scale of the print output relatively to the original on-screen size of the diagram. (Inherited from RenderOptions.)

ScrollX

Gets or sets the document's X scroll position. (Inherited from RenderOptions.)

ScrollY

Gets or sets the document's Y scroll position. (Inherited from RenderOptions.)

SmoothingMode

Gets or sets the current anti-aliasing mode. (Inherited from RenderOptions.)

TargetView

Gets or sets the object that currently displays the Diagram. (Inherited from RenderOptions.)

TextRenderingHint

Gets or sets the rendering mode for text displayed in this diagram. (Inherited from RenderOptions.)

ToDiagramPage

Gets or sets the index of the last DiagramPage to print in a TabbedDiagramView, or null, to print to the last page in the view.

VisibleRect

Specifies which part of the diagram is currently visible. (Inherited from RenderOptions.)

 Public Methods

  Name Description

ScaleToPage

Overloaded. Adjusts the value of the Scale property so that the whole diagram would fit on a single page.

 See Also