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 AccessKey (Inherited from WebControl.)
Public property ActualSizeHorizontalScale

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

(Overrides BaseViewer.ActualSizeHorizontalScale.)
Public property ActualSizeVerticalScale

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

(Overrides BaseViewer.ActualSizeVerticalScale.)
Protected property Adapter (Inherited from Control.)
Public property AppRelativeTemplateSourceDirectory (Inherited from Control.)
Public property Attributes (Inherited from WebControl.)
Public property AutoPostBack

Gets/sets a value indicating whether a postback to the server automatically occurs when the user zooms or scrolls the content.

(Inherited from BaseViewer.)
Public property BackColor (Inherited from WebControl.)
Public property BindingContainer (Inherited from Control.)
Public property BorderColor (Inherited from WebControl.)
Public property BorderStyle (Inherited from WebControl.)
Public property BorderWidth

Gets/sets the width (in pixels) of the control border.

(Inherited from BaseViewer.)
Public property Canvas

Gets the Canvas associated with this CanvasViewer.

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

Gets/sets values which configure automatic postback for individual events.

(Inherited from BaseViewer.)
Public property ContentHeight

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

(Overrides BaseViewer.ContentHeight.)
Public property ContentWidth

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

(Overrides BaseViewer.ContentWidth.)
Protected property Context (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property ControlStyle (Inherited from WebControl.)
Public property ControlStyleCreated (Inherited from WebControl.)
Protected property DesignMode (Inherited from Control.)
Public property Enabled (Inherited from WebControl.)
Public property EnableViewState (Inherited from Control.)
Protected property Events (Inherited from Control.)
Public property HasAttributes (Inherited from WebControl.)
Protected property HasChildViewState (Inherited from Control.)
Public property Height

Gets/sets the height (in pixels) of the control area.

(Inherited from BaseViewer.)
Public property ID (Inherited from Control.)
Protected property IdSeparator (Inherited from Control.)
Protected property IsChildControlStateCleared (Inherited from Control.)
Protected property IsEnabled (Inherited from WebControl.)
Protected property IsTrackingViewState (Inherited from Control.)
Protected property IsViewStateEnabled (Inherited from Control.)
Protected property LoadViewStateByID (Inherited from Control.)
Public property MaxZoom

Gets/sets the maximum allowed zoom value.

(Inherited from BaseViewer.)
Public property MinZoom

Gets/sets the minimum allowed zoom value.

(Inherited from BaseViewer.)
Public property NamingContainer (Inherited from Control.)
Public property Navigator

Gets/sets the navigator control ID (i.e. value stored in the attribute id of the tag that inserts the control).

(Inherited from BaseViewer.)
Public property Page (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property Rubberband

Gets/sets the rubberband control ID (i.e. value stored in the attribute id of the tag that inserts the control).

(Inherited from BaseViewer.)
Public property RulerEnabled

Gets or sets a value indicating whether to show the ruler.

(Inherited from BaseViewer.)
Public property RulerScale

Gets or sets the ruler scale.

(Inherited from BaseViewer.)
Public property RulerWidth

Gets or sets the ruler width.

(Inherited from BaseViewer.)
Public property ScreenXDpi

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

(Overrides BaseViewer.ScreenXDpi.)
Public property ScreenYDpi

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

(Overrides BaseViewer.ScreenYDpi.)
Public property ScrollBarsStyle

Gets/sets a value that specifies whether to display scroll bars and whether to hide them automatically when the displayed content is less than the control size.

(Inherited from BaseViewer.)
Public property ScrollBarWidth

Gets/sets a value that represents a scroll bar width (in pixels) in calculations.

(Inherited from BaseViewer.)
Public property ScrollingPosition

Gets/sets the position of the scroll bars.

(Inherited from BaseViewer.)
Public property ScrollingSize

Gets a scroll bar length (in other words, the right-bottom point of the image fragment which is out of the visible area).

(Inherited from BaseViewer.)
Public property Site (Inherited from Control.)
Public property Style (Inherited from WebControl.)
Public property TabIndex (Inherited from WebControl.)
Protected property TagKey (Inherited from WebControl.)
Protected property TagName (Inherited from WebControl.)
Public property TemplateControl (Inherited from Control.)
Public property TemplateSourceDirectory (Inherited from Control.)
Public property ToolTip (Inherited from WebControl.)
Public property UniqueID (Inherited from Control.)
Public property ViewportAlignment

Gets/sets a value that specifies content alignment in the control.

(Inherited from BaseViewer.)
Public property ViewportBounds

Gets bounds of the viewport area.

(Inherited from BaseViewer.)
Protected property ViewState (Inherited from Control.)
Protected property ViewStateIgnoresCase (Inherited from Control.)
Public property Visible (Inherited from Control.)
Public property Width

Gets/sets the width (in pixels) of the control area.

(Inherited from BaseViewer.)
Public property WorkspaceHeight

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

(Overrides BaseViewer.WorkspaceHeight.)
Public property WorkspaceWidth

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

(Overrides BaseViewer.WorkspaceWidth.)
Public property Zoom

Gets/sets the current zoom value.

(Inherited from BaseViewer.)
Public property ZoomMode

Gets/sets a value that specifies content zoom mode of the control (automatic or manual).

(Inherited from BaseViewer.)
Public property ZoomQuality

Gets/sets a value that specifies a zoom quality.

(Inherited from BaseViewer.)

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