This documentation is for the old version. Go to the latest Graphics Mill docs

CanvasViewer Properties

The CanvasViewer type exposes the following members.

Properties

Name Description
Public property actualSizeHorizontalScale

Gets value which represents the ratio of screen horizontal resolution to the canvas resolution.

Public property actualSizeVerticalScale

Gets value which represents the ratio of screen vertical resolution to the canvas resolution.

Public property canvas

Gets the Canvas associated with this CanvasViewer.

Public property canvasId

Gets or sets a unique identifier of the Canvas associated with this CanvasViewer.

Public property contentHeight

Gets a value that represents the height (in pixels) of the CanvasViewer content taking into account the screen vertical resolution and zoom value.

Public property contentWidth

Gets a value that represents the width (in pixels) of the CanvasViewer content taking into account the screen horizontal resolution and zoom value.

Public property workspaceHeight

Gets a value that represents the height (in pixels) of the Canvas associated with this CanvasViewer.

Public property workspaceWidth

Gets a value that represents the width (in pixels) of the Canvas associated with this CanvasViewer.

See Also

Reference