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

Canvas Properties

The Canvas type exposes the following members.

Properties

Name Description
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from HtmlControl.)
Public property BindingContainer (Inherited from Control.)
Public property CanvasClientSideOptions

Gets or sets value which configures callback for the CurrentVObjectChanged event.

Protected property ChildControlsCreated (Inherited from Control.)
Public property ClientID (Inherited from Control.)
Protected property ClientIDSeparator (Inherited from Control.)
Public property CmykColorProfile

Gets or sets a CMYK color profile used to render the workspace.

Public property ConstrainedMarginEnabled

Gets or sets the value indicating whether it is possible to move v-objects beyond the bounds of the canvas.

Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property CurrentLayer

Gets the currently selected layer.

Public property CurrentLayerIndex

Gets or sets an index of the currently selected layer.

Public property CurrentVObject

Gets the currently selected v-object.

Public property CurrentVObjectIndex

Gets or sets an index of the currently selected v-object.

Public property Data

Gets or sets serialized data of this Canvas.

Protected property DesignMode (Inherited from Control.)
Public property Disabled (Inherited from HtmlControl.)
Public property EnableTheming (Inherited from Control.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property GrayscaleColorProfile

Gets or sets a grayscale color profile used to render the workspace.

Protected property HasChildViewState (Inherited from Control.)
Public property History

Gets a History object associated with this Canvas.

Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Public property IsSquaredBackground

Gets or sets the value indicating if the background of the canvas is squared.

Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Public property Layers

Gets a collection of layers associated with this canvas.

Protected property LoadViewStateByID (Inherited from Control.)
Public property Margin

Gets or sets the outer margin of the canvas.

Public property MarginColor

Gets or sets a color of the outer margin of the canvas.

Public property MarginWidth

Gets or sets a width of the outer margin of the canvas.

Public property MaxJsonLength
Public property NamingContainer (Inherited from Control.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PreviewColorManagementEnabled

Gets or sets the value indicating whether to use color management when displaying images.

Public property PrintColorManagementEnabled

Gets or sets the value indicating whether to use color management when rendering the workspace.

Public property ResizeGripColor

Gets or set the resize grip color.

Public property ResizeGripSize

Gets or set the resize grip width.

Public property ReturnValue

Gets or sets the value returned by remote scripting method.

Public property RgbColorProfile

Gets or sets a RGB color profile used to render the workspace.

Public property RotationGripColor

Gets or set the rotation grip color.

Public property RotationGripSize

Gets or set the rotation grip width.

Public property ScreenXDpi

Gets a horizontal resolution in DPI used to display the Canvas in a browser.

Public property ScreenYDpi

Gets a vertical resolution in DPI used to display the Canvas in a browser.

Public property Site (Inherited from Control.)
Public property SkinID (Inherited from Control.)
Public property Style (Inherited from HtmlControl.)
Public property TagName (Inherited from HtmlControl.)
Public property Tags

Gets or sets custom data.

Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property UniqueID (Inherited from Control.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from HtmlControl.)
Public property Visible (Inherited from Control.)
Public property WorkspaceHeight

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

Public property WorkspaceWidth

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

Public property Zoom

Gets or sets the current zoom value.

Explicit Interface Implementations

Name Description
Explicit interface implemetation Private property IControlBuilderAccessor.ControlBuilder (Inherited from Control.)
Explicit interface implemetation Private property IDataBindingsAccessor.DataBindings (Inherited from Control.)
Explicit interface implemetation Private property IExpressionsAccessor.Expressions (Inherited from Control.)
Explicit interface implemetation Private property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetation Private property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetation Private property IControlDesignerAccessor.UserData (Inherited from Control.)

See Also

Reference