RenderOptions

open class RenderOptions

Provides properties that allow customization of various aspects of printing and print-preview.

  • Initializes a new instance of the RenderOptions class.

    Declaration

    Swift

    public init()

    Return Value

    The newly created RenderOptions object.

  • Gets or sets a value indicating whether the printing of the shadows of diagram items is enabled.

    Declaration

    Swift

    open var enableShadows: Bool
  • Gets or sets a value indicating whether the printing of images that are displayed in nodes is enabled.

    Declaration

    Swift

    open var enableImages: Bool
  • Gets or sets a value indicating whether the printing of node interiors is enabled.

    Declaration

    Swift

    open var enableInterior: Bool
  • Gets or sets a value indicating whether the printing of anchor point marks is enabled.

    Declaration

    Swift

    open var enableAnchors: Bool
  • Gets or sets a value indicating whether the printing of the background color is enabled.

    Declaration

    Swift

    open var enableBackground: Bool
  • Gets or sets a value indicating whether the printing of the background image is enabled.

    Declaration

    Swift

    open var enableBackgroundImage: Bool
  • Gets or sets a value indicating whether the printing of the text of diagram items is enabled.

    Declaration

    Swift

    open var enableText: Bool
  • Enables or disables special effects.

    Declaration

    Swift

    open var enableEffects: Bool
  • Gets or sets a value indicating whether the printing of a grid is enabled.

    Declaration

    Swift

    open var enableGrid: Bool
  • Gets or sets a value indicating whether the printing of paint controls is enabled.

    Declaration

    Swift

    open var paintControls: Bool
  • Gets or sets the target of the hyperlink.

    Declaration

    Swift

    open var hyperLinkTarget: String
  • Gets or sets the style of the hyperlink. One of the HyperLinkStyle enumeration values.

    Declaration

    Swift

    open var hyperLinkStyle: HyperLinkStyle
  • Gets or sets the RenderTarget

    Declaration

    Swift

    open var renderTarget: RenderTarget
  • Gets or sets the object that currently displays the diagram.

    Declaration

    Swift

    open var targetView: AnyObject?
  • Gets or sets the scale of the print output relatively to the original on-screen size of the diagram.

    Declaration

    Swift

    open var scale: Double
  • Gets or sets the document’s X scroll position.

    Declaration

    Swift

    open var scrollX: Double
  • Gets or sets the document’s Y scroll position.

    Declaration

    Swift

    open var scrollY: Double
  • Gets or sets the rectangle visible on the printed page.

    Declaration

    Swift

    open var visibleRect: Rect
  • Gets or sets whether GdiPlusExceptions are caught.

    Declaration

    Swift

    open var catchGdiPlusExceptions: Bool