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

CanvasViewer Members

The CanvasViewer type exposes the following members.

Constructors

Name Description
Public method CanvasViewer

Creates and initializes an instance of the CanvasViewer class.

Methods

Name Description
Protected method AddAttributesToRender (Inherited from WebControl.)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method ApplyStyle (Inherited from WebControl.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Protected method BuildProfileTree (Inherited from Control.)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method ControlToWorkspace Overloaded.

Translates coordinates from the control-related coordinate system to the workspace-related one.

Public method CopyBaseAttributes (Inherited from WebControl.)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from Control.)
Protected method CreateControlStyle (Inherited from WebControl.)
Public method DataBind Overloaded.
Protected method DataBindChildren (Inherited from Control.)
Public method Dispose

Releases all resources.

(Inherited from BaseViewer.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Public method FindControl Overloaded.
Public method Focus (Inherited from Control.)
Protected method GetCallbackResult

Returns the result of a callback event that targets a control.

(Overrides BaseViewer.GetCallbackResult().)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetHashCode (Inherited from Object.)
Protected method GetScriptDescriptors

When overridden in a derived class, returns the ScriptDescriptor objects for the control.

(Inherited from BaseScriptControl.)
Protected method GetScriptReferences

Returns script files for the control.

(Overrides BaseScriptControl.GetScriptReferences().)
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState (Inherited from Control.)
Protected method LoadPostData

Processes the postback data for the BaseViewer control.

(Inherited from BaseViewer.)
Protected method LoadViewState (Inherited from WebControl.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MergeStyle (Inherited from WebControl.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnZoomed

Raises the Zoomed event.

(Overrides BaseViewer.OnZoomed().)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RaiseCallbackEvent

Raises events for the CanvasViewer control when a form is posted back to the server.

(Overrides BaseViewer.RaiseCallbackEvent(String).)
Protected method RaisePostBackEvent

Raises events for the BaseViewer control when a form is posted back to the server.

(Inherited from BaseViewer.)
Protected method RaisePostDataChangedEvent

Raises events for the BaseViewer control when postback occurs.

(Inherited from BaseViewer.)
Protected method RemovedControl (Inherited from Control.)
Public method RenderBeginTag (Inherited from WebControl.)
Protected method RenderChildren (Inherited from Control.)
Protected method RenderContents (Inherited from WebControl.)
Public method RenderControl Overloaded.
Public method RenderEndTag (Inherited from WebControl.)
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Protected method SaveControlState (Inherited from Control.)
Protected method SaveViewState (Inherited from WebControl.)
Protected method SetDesignModeState (Inherited from Control.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebControl.)
Public method WorkspaceToControl Overloaded.

Translates coordinates from the workspace-related coordinate system to the control-related one.

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.)

Events

Name Description
Public event DataBinding (Inherited from Control.)
Public event Disposed (Inherited from Control.)
Public event Init (Inherited from Control.)
Public event Load (Inherited from Control.)
Public event PreRender (Inherited from Control.)
Public event Scrolled

Fires when scroll position of the control is changed.

(Inherited from BaseViewer.)
Public event Unload (Inherited from Control.)
Public event WorkspaceChanged

Occurs when the content of the associated workspace is replaced.

(Inherited from BaseViewer.)
Public event WorkspaceClick

Occurs when a mouse button is clicked on the content displayed by this viewer control.

(Inherited from BaseViewer.)
Public event Zoomed

Fires when zoom or zoom mode of the control is changed.

(Inherited from BaseViewer.)

Explicit Interface Implementations

Name Description
Explicit interface implemetation Private method IParserAccessor.AddParsedSubObject (Inherited from Control.)
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 method IAttributeAccessor.GetAttribute (Inherited from WebControl.)
Explicit interface implemetation Private method ICallbackEventHandler.GetCallbackResult (Inherited from BaseViewer.)
Explicit interface implemetation Private method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetation Private method IScriptControl.GetScriptDescriptors (Inherited from BaseScriptControl.)
Explicit interface implemetation Private method IScriptControl.GetScriptReferences (Inherited from BaseScriptControl.)
Explicit interface implemetation Private property IDataBindingsAccessor.HasDataBindings (Inherited from Control.)
Explicit interface implemetation Private property IExpressionsAccessor.HasExpressions (Inherited from Control.)
Explicit interface implemetation Private method IPostBackDataHandler.LoadPostData (Inherited from BaseViewer.)
Explicit interface implemetation Private method ICallbackEventHandler.RaiseCallbackEvent (Inherited from BaseViewer.)
Explicit interface implemetation Private method IPostBackEventHandler.RaisePostBackEvent (Inherited from BaseViewer.)
Explicit interface implemetation Private method IPostBackDataHandler.RaisePostDataChangedEvent (Inherited from BaseViewer.)
Explicit interface implemetation Private method IAttributeAccessor.SetAttribute (Inherited from WebControl.)
Explicit interface implemetation Private method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetation Private method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)
Explicit interface implemetation Private property IControlDesignerAccessor.UserData (Inherited from Control.)

See Also

Reference