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

MultiLayerViewer Members

The MultiLayerViewer type exposes the following members.

Constructors

Name Description
Public method MultiLayerViewer

Creates and initializes a new viewer instance.

Methods

Name Description
Protected method AccessibilityNotifyClients Overloaded.
Public method BeginInvoke Overloaded.
Public method BringToFront (Inherited from Control.)
Public method ClearHistory

Discards both the undo and redo histories.

Public method ClearRedoHistory

Discards the redo history.

Public method ClearUndoHistory

Discards the undo history.

Public method Contains (Inherited from Control.)
Public method ControlToWorkspace Overloaded.

Converts coordinates from control-related to workspace-related ones.

Protected method CreateAccessibilityInstance (Inherited from Control.)
Public method CreateControl (Inherited from Control.)
Protected method CreateControlsInstance (Inherited from Control.)
Public method CreateGraphics (Inherited from Control.)
Protected method CreateHandle (Inherited from Control.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Protected method DefWndProc (Inherited from Control.)
Protected method DestroyHandle (Inherited from Control.)
Public method Dispose (Inherited from Component.)
Public method DoDragDrop (Inherited from Control.)
Public method DrawToBitmap (Inherited from Control.)
Public method EndInvoke (Inherited from Control.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method FindForm (Inherited from Control.)
Public method Focus (Inherited from Control.)
Protected method GetAccessibilityObjectById (Inherited from Control.)
Protected method GetAutoSizeMode (Inherited from Control.)
Public method GetCanvasBounds

Returns a rectangle of the multi-layer viewer client area (without scroll bars).

(Overrides ViewerBase.GetCanvasBounds().)
Public method GetChildAtPoint Overloaded.
Public method GetContainerControl (Inherited from Control.)
Public method GetControlPixelsPerUnitX

Returns the horizontal resolution, in pixels per the specified unit.

(Inherited from ViewerBase.)
Public method GetControlPixelsPerUnitY

Returns the vertical resolution, in pixels per the specified unit.

(Inherited from ViewerBase.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetNextControl (Inherited from Control.)
Public method GetPreferredSize (Inherited from Control.)
Protected method GetScaledBounds (Inherited from Control.)
Protected method GetService (Inherited from Component.)
Protected method GetStyle (Inherited from Control.)
Protected method GetTopLevel (Inherited from Control.)
Public method GetType (Inherited from Object.)
Public method GetViewportBounds

Returns a rectangle where the image is displayed.

(Overrides ViewerBase.GetViewportBounds().)
Public method Hide (Inherited from Control.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected method InitLayout (Inherited from Control.)
Public method Invalidate Overloaded.
Public method InvalidateViewer Overloaded.

Invalidates the control and causes it to be repainted.

Public method Invoke Overloaded.
Protected method InvokeGotFocus (Inherited from Control.)
Protected method InvokeLostFocus (Inherited from Control.)
Protected method InvokeOnClick (Inherited from Control.)
Protected method InvokePaint (Inherited from Control.)
Protected method InvokePaintBackground (Inherited from Control.)
Protected method IsInputChar (Inherited from Control.)
Protected method IsInputKey (Inherited from Control.)
Protected method MemberwiseClone Overloaded.
Protected method NotifyInvalidate (Inherited from Control.)
Protected method OnAutoSizeChanged (Inherited from Control.)
Protected method OnBackColorChanged (Inherited from Control.)
Protected method OnBackgroundImageChanged (Inherited from Control.)
Protected method OnBackgroundImageLayoutChanged (Inherited from Control.)
Protected method OnBindingContextChanged (Inherited from Control.)
Protected method OnCausesValidationChanged (Inherited from Control.)
Protected method OnChangeUICues (Inherited from Control.)
Protected method OnClick (Inherited from Control.)
Protected method OnClientSizeChanged (Inherited from Control.)
Protected method OnContextMenuChanged (Inherited from Control.)
Protected method OnContextMenuStripChanged (Inherited from Control.)
Protected method OnControlAdded (Inherited from Control.)
Protected method OnControlRemoved (Inherited from Control.)
Protected method OnCreateControl (Inherited from Control.)
Protected method OnCursorChanged (Inherited from Control.)
Protected method OnDockChanged (Inherited from Control.)
Protected method OnDoubleClick (Inherited from Control.)
Protected method OnDragDrop (Inherited from Control.)
Protected method OnDragEnter (Inherited from Control.)
Protected method OnDragLeave (Inherited from Control.)
Protected method OnDragOver (Inherited from Control.)
Protected method OnEnabledChanged (Inherited from Control.)
Protected method OnEnter (Inherited from Control.)
Protected method OnFontChanged (Inherited from Control.)
Protected method OnForeColorChanged (Inherited from Control.)
Protected method OnGiveFeedback (Inherited from Control.)
Protected method OnGotFocus (Inherited from Control.)
Protected method OnHandleDestroyed (Inherited from Control.)
Protected method OnHelpRequested (Inherited from Control.)
Protected method OnImeModeChanged (Inherited from Control.)
Protected method OnKeyPress (Inherited from Control.)
Protected method OnLayout (Inherited from Control.)
Protected method OnLeave (Inherited from Control.)
Protected method OnLocationChanged (Inherited from Control.)
Protected method OnLostFocus (Inherited from Control.)
Protected method OnMarginChanged (Inherited from Control.)
Protected method OnMouseCaptureChanged (Inherited from Control.)
Protected method OnMouseClick (Inherited from Control.)
Protected method OnMouseDoubleClick (Inherited from Control.)
Protected method OnMouseEnter (Inherited from Control.)
Protected method OnMouseHover (Inherited from Control.)
Protected method OnMouseLeave (Inherited from Control.)
Protected method OnMouseWheel (Inherited from Control.)
Protected method OnMove (Inherited from Control.)
Protected method OnNotifyMessage (Inherited from Control.)
Protected method OnPaddingChanged (Inherited from Control.)
Protected method OnParentBackColorChanged (Inherited from Control.)
Protected method OnParentBackgroundImageChanged (Inherited from Control.)
Protected method OnParentBindingContextChanged (Inherited from Control.)
Protected method OnParentChanged (Inherited from Control.)
Protected method OnParentCursorChanged (Inherited from Control.)
Protected method OnParentEnabledChanged (Inherited from Control.)
Protected method OnParentFontChanged (Inherited from Control.)
Protected method OnParentForeColorChanged (Inherited from Control.)
Protected method OnParentRightToLeftChanged (Inherited from Control.)
Protected method OnParentVisibleChanged (Inherited from Control.)
Protected method OnPreviewKeyDown (Inherited from Control.)
Protected method OnPrint (Inherited from Control.)
Protected method OnQueryContinueDrag (Inherited from Control.)
Protected method OnRegionChanged (Inherited from Control.)
Protected method OnResize (Inherited from Control.)
Protected method OnRightToLeftChanged (Inherited from Control.)
Protected method OnStyleChanged (Inherited from Control.)
Protected method OnSystemColorsChanged (Inherited from Control.)
Protected method OnTabIndexChanged (Inherited from Control.)
Protected method OnTabStopChanged (Inherited from Control.)
Protected method OnTextChanged (Inherited from Control.)
Protected method OnValidated (Inherited from Control.)
Protected method OnValidating (Inherited from Control.)
Protected method OnVisibleChanged (Inherited from Control.)
Public method PerformLayout Overloaded.
Public method PointToClient (Inherited from Control.)
Public method PointToScreen (Inherited from Control.)
Public method PreProcessControlMessage (Inherited from Control.)
Public method PreProcessMessage (Inherited from Control.)
Protected method ProcessCmdKey (Inherited from Control.)
Protected method ProcessDialogChar (Inherited from Control.)
Protected method ProcessDialogKey (Inherited from Control.)
Protected method ProcessKeyEventArgs (Inherited from Control.)
Protected method ProcessKeyMessage (Inherited from Control.)
Protected method ProcessKeyPreview (Inherited from Control.)
Protected method ProcessMnemonic (Inherited from Control.)
Protected method RaiseDragEvent (Inherited from Control.)
Protected method RaiseKeyEvent (Inherited from Control.)
Protected method RaiseMouseEvent (Inherited from Control.)
Protected method RaisePaintEvent (Inherited from Control.)
Protected method RecreateHandle (Inherited from Control.)
Public method RectangleToClient (Inherited from Control.)
Public method RectangleToScreen (Inherited from Control.)
Public method Redo Overloaded.

Redoes the last undone change.

Public method Refresh (Inherited from Control.)
Public method RenderWorkspace Overloaded.

Renders all v-object in the workspace into a raster image.

Public method ResetBackColor (Inherited from Control.)
Public method ResetBindings (Inherited from Control.)
Public method ResetCursor (Inherited from Control.)
Public method ResetFont (Inherited from Control.)
Public method ResetForeColor (Inherited from Control.)
Public method ResetImeMode (Inherited from Control.)
Protected method ResetMouseEventArgs (Inherited from Control.)
Public method ResetRightToLeft (Inherited from Control.)
Public method ResetText (Inherited from Control.)
Public method RestoreCursorToDefault

Resets the current cursor to DefaultCursor

(Inherited from ViewerBase.)
Public method ResumeLayout Overloaded.
Protected method RtlTranslateAlignment Overloaded.
Protected method RtlTranslateContent (Inherited from Control.)
Protected method RtlTranslateHorizontal (Inherited from Control.)
Protected method RtlTranslateLeftRight (Inherited from Control.)
Public method SaveState

Saves the state of the object.

Public method Scale Overloaded.
Protected method ScaleControl (Inherited from Control.)
Protected method ScaleCore (Inherited from Control.)
Public method Scroll Overloaded.

Moves the scroll bar to a specified position.

Public method Select Overloaded.
Public method SelectNextControl (Inherited from Control.)
Public method SendToBack (Inherited from Control.)
Protected method SetAutoSizeMode (Inherited from Control.)
Public method SetBounds Overloaded.
Protected method SetBoundsCore (Inherited from Control.)
Protected method SetClientSizeCore (Inherited from Control.)
Protected method SetStyle (Inherited from Control.)
Protected method SetTopLevel (Inherited from Control.)
Protected method SetVisibleCore (Inherited from Control.)
Public method Show (Inherited from Control.)
Protected method SizeFromClientSize (Inherited from Control.)
Public method SuspendLayout (Inherited from Control.)
Public method ToString (Inherited from Component.)
Public method Undo Overloaded.

Undoes the last made change.

Public method Update (Inherited from Control.)
Protected method UpdateBounds Overloaded.
Protected method UpdateStyles (Inherited from Control.)
Protected method UpdateZOrder (Inherited from Control.)
Public method WorkspaceToControl Overloaded.

Converts coordinates from workspace-related to control-related ones.

Properties

Name Description
Public property AccessibilityObject (Inherited from Control.)
Public property AccessibleDefaultActionDescription (Inherited from Control.)
Public property AccessibleDescription (Inherited from Control.)
Public property AccessibleName (Inherited from Control.)
Public property AccessibleRole (Inherited from Control.)
Public property AllowDrop (Inherited from Control.)
Public property Anchor (Inherited from Control.)
Public property AutoScrollOffset (Inherited from Control.)
Public property AutoSize (Inherited from Control.)
Public property BackColor (Inherited from Control.)
Public property BackgroundImage (Inherited from Control.)
Public property BackgroundImageLayout (Inherited from Control.)
Public property BindingContext (Inherited from Control.)
Public property BorderStyle

Gets/sets the border style of the control.

(Inherited from ViewerBase.)
Public property Bottom (Inherited from Control.)
Public property Bounds (Inherited from Control.)
Protected property CanEnableIme (Inherited from Control.)
Public property CanFocus (Inherited from Control.)
Protected property CanRaiseEvents (Inherited from Control.)
Public property CanRedo

Indicates if the last reverted action can be redone.

Public property CanSelect (Inherited from Control.)
Public property CanUndo

Indicates if the last action can be undone.

Public property Capture (Inherited from Control.)
Public property CausesValidation (Inherited from Control.)
Public property ClientRectangle (Inherited from Control.)
Public property ClientSize (Inherited from Control.)
Public property CompanyName (Inherited from Control.)
Public property Container (Inherited from Component.)
Public property ContainsFocus (Inherited from Control.)
Public property ContextMenu (Inherited from Control.)
Public property ContextMenuStrip (Inherited from Control.)
Public property Controls (Inherited from Control.)
Public property Created (Inherited from Control.)
Protected property CreateParams (Inherited from Control.)
Public property CurrentDesigner

Gets/sets the currently active designer.

Public property CurrentLayer

Gets/sets the currently selected layer.

Public property CurrentLayerIndex

Gets/sets the index of the currently selected layer.

Public property Cursor (Inherited from Control.)
Public property DataBindings (Inherited from Control.)
Public property DefaultCursor

Gets/sets default cursor for a control.

(Inherited from ViewerBase.)
Public property DefaultDesigner

Gets the default designer associated with the host object.

Protected property DefaultImeMode (Inherited from Control.)
Protected property DefaultMargin (Inherited from Control.)
Protected property DefaultMaximumSize (Inherited from Control.)
Protected property DefaultMinimumSize (Inherited from Control.)
Protected property DefaultPadding (Inherited from Control.)
Protected property DefaultSize (Inherited from Control.)
Public property DesignerOptions

Gets options available to all designers.

Protected property DesignMode (Inherited from Component.)
Public property DisplayRectangle (Inherited from Control.)
Public property Disposing (Inherited from Control.)
Public property Dock (Inherited from Control.)
Protected property DoubleBuffered (Inherited from Control.)
Public property Enabled (Inherited from Control.)
Protected property Events (Inherited from Component.)
Public property Focused (Inherited from Control.)
Public property Font (Inherited from Control.)
Protected property FontHeight (Inherited from Control.)
Public property ForeColor (Inherited from Control.)
Public property Handle (Inherited from Control.)
Public property HasChildren (Inherited from Control.)
Public property HasContent

Gets a value indicating if the viewer displays any image.

(Overrides ViewerBase.HasContent.)
Public property Height (Inherited from Control.)
Public property HostViewer

Gets a reference to a currently used viewer control.

Public property ImeMode (Inherited from Control.)
Protected property ImeModeBase (Inherited from Control.)
Public property InvokeRequired (Inherited from Control.)
Public property IsAccessible (Inherited from Control.)
Public property IsDisposed (Inherited from Control.)
Public property IsHandleCreated (Inherited from Control.)
Public property IsMirrored (Inherited from Control.)
Public property Layers

Returns the layer collection of a viewer.

Public property LayoutEngine (Inherited from Control.)
Public property Left (Inherited from Control.)
Public property Location (Inherited from Control.)
Public property Margin (Inherited from Control.)
Public property MaximumSize (Inherited from Control.)
Public property MaxUndoStepCount

Gets/sets a maximum number of available undo steps (levels).

Public property MaxZoom

Gets/sets a maximum allowed zoom value.

(Inherited from ViewerBase.)
Public property MinimumSize (Inherited from Control.)
Public property MinZoom

Gets/sets a minimum allowed zoom value.

(Inherited from ViewerBase.)
Public property MultipleVObjectsTransformationEnabled

Gets/sets a value indicating if a multiple selection can only be dragged.

Public property MultiSelect

Gets/sets a value indicating whether multiple items can be selected.

Public property Name (Inherited from Control.)
Public property Navigator

Gets/sets a navigator control which is responsible for the user input.

(Inherited from ViewerBase.)
Public property Padding (Inherited from Control.)
Public property Parent (Inherited from Control.)
Public property PreferredSize (Inherited from Control.)
Public property ProductName (Inherited from Control.)
Public property ProductVersion (Inherited from Control.)
Public property RecreatingHandle (Inherited from Control.)
Public property RedoStepCount

Gets the number of available redo steps (levels).

Public property Region (Inherited from Control.)
Protected property RenderRightToLeft Obsolete. (Inherited from Control.)
Public property ResizeProportionallyWithShift

Gets/sets a value indicating if v-objects should be resized proportionally when the user drags the resize grip with the SHIFT key pressed.

Protected property ResizeRedraw (Inherited from Control.)
Public property Right (Inherited from Control.)
Public property RightToLeft (Inherited from Control.)
Public property Rubberband

Gets/sets a currently attached rubberband control.

(Inherited from ViewerBase.)
Protected property ScaleChildren (Inherited from Control.)
Public property ScrollBarsStyle

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

(Overrides ViewerBase.ScrollBarsStyle.)
Public property ScrollingPosition

Gets/sets a position of the scroll bars.

(Overrides ViewerBase.ScrollingPosition.)
Protected property ShowFocusCues (Inherited from Control.)
Protected property ShowKeyboardCues (Inherited from Control.)
Public property Site (Inherited from Control.)
Public property Size (Inherited from Control.)
Public property TabIndex (Inherited from Control.)
Public property TabStop (Inherited from Control.)
Public property Tag (Inherited from Control.)
Public property Text (Inherited from Control.)
Public property Top (Inherited from Control.)
Public property TopLevelControl (Inherited from Control.)
Public property UndoRedoEnabled

Enables or disables the undo/redo functionality.

Public property UndoRedoTrackingEnabled

Enables or disables the automatic change tracking.

Public property UndoStepCount

Gets the number of available undo steps (levels).

Public property Unit

Gets/sets a physical unit of measure for the viewer.

(Overrides ViewerBase.Unit.)
Public property UseWaitCursor (Inherited from Control.)
Public property ViewerResolution

Gets the monitor resolution as it is specified in Windows settings.

(Inherited from ViewerBase.)
Public property ViewportAlignment

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

(Overrides ViewerBase.ViewportAlignment.)
Public property Visible (Inherited from Control.)
Public property WheelZoomAmount

Gets/sets a zooming factor used during a mouse wheel scroll.

(Inherited from ViewerBase.)
Public property Width (Inherited from Control.)
Public property WindowTarget (Inherited from Control.)
Public property WorkspaceBackColor1

Gets/sets the primary color of the bitmap background (the first color for the checkered background or a solid color background).

Public property WorkspaceBackColor2

Gets/sets the secondary color of the bitmap background (the second color for the checkered background).

Public property WorkspaceBackgroundStyle

Gets/sets a background style of the image.

Public property WorkspaceBorderColor

Gets/sets a color of the bitmap border.

(Overrides ViewerBase.WorkspaceBorderColor.)
Public property WorkspaceBorderEnabled

Gets/sets a value that specifies whether to display the bitmap border.

(Overrides ViewerBase.WorkspaceBorderEnabled.)
Public property WorkspaceBorderWidth

Gets/sets the width of the bitmap border.

(Overrides ViewerBase.WorkspaceBorderWidth.)
Public property WorkspaceHeight

Gets/sets the height of the workspace.

(Overrides ViewerBase.WorkspaceHeight.)
Public property WorkspaceWidth

Gets/sets the width of the workspace.

(Overrides ViewerBase.WorkspaceWidth.)
Public property Zoom

Gets/sets a current zoom value.

(Inherited from ViewerBase.)
Public property ZoomMode

Gets/sets a zooming behavior of a control (automatic or manual).

(Inherited from ViewerBase.)

Events

Name Description
Public event AutoSizeChanged (Inherited from Control.)
Public event BackColorChanged (Inherited from Control.)
Public event BackgroundImageChanged (Inherited from Control.)
Public event BackgroundImageLayoutChanged (Inherited from Control.)
Public event BindingContextChanged (Inherited from Control.)
Public event CausesValidationChanged (Inherited from Control.)
Public event ChangeUICues (Inherited from Control.)
Public event Click (Inherited from Control.)
Public event ClientSizeChanged (Inherited from Control.)
Public event ContextMenuChanged (Inherited from Control.)
Public event ContextMenuStripChanged (Inherited from Control.)
Public event ControlAdded (Inherited from Control.)
Public event ControlRemoved (Inherited from Control.)
Public event CurrentLayerChanged

Raised when another layer is selected by the user.

Public event CursorChanged (Inherited from Control.)
Public event DesignerChanged

Raised when another v-object is selected by the user.

Public event Disposed (Inherited from Component.)
Public event DockChanged (Inherited from Control.)
Public event DoubleBufferPaint

Raised before a control copies a bitmap from the memory buffer to the screen during repaint.

(Inherited from ViewerBase.)
Public event DoubleClick (Inherited from Control.)
Public event DragDrop (Inherited from Control.)
Public event DragEnter (Inherited from Control.)
Public event DragLeave (Inherited from Control.)
Public event DragOver (Inherited from Control.)
Public event EnabledChanged (Inherited from Control.)
Public event Enter (Inherited from Control.)
Public event FontChanged (Inherited from Control.)
Public event ForeColorChanged (Inherited from Control.)
Public event GiveFeedback (Inherited from Control.)
Public event GotFocus (Inherited from Control.)
Public event HandleCreated (Inherited from Control.)
Public event HandleDestroyed (Inherited from Control.)
Public event HelpRequested (Inherited from Control.)
Public event ImeModeChanged (Inherited from Control.)
Public event Invalidated (Inherited from Control.)
Public event KeyDown (Inherited from Control.)
Public event KeyPress (Inherited from Control.)
Public event KeyUp (Inherited from Control.)
Public event LayerAdded

Raised after a new layer is added.

Public event LayerChanged

Raised after a layer is modified.

Public event LayerRemoved

Raised after a new layer is removed.

Public event Layout (Inherited from Control.)
Public event Leave (Inherited from Control.)
Public event LocationChanged (Inherited from Control.)
Public event LostFocus (Inherited from Control.)
Public event MarginChanged (Inherited from Control.)
Public event MouseCaptureChanged (Inherited from Control.)
Public event MouseClick (Inherited from Control.)
Public event MouseDoubleClick (Inherited from Control.)
Public event MouseDown (Inherited from Control.)
Public event MouseEnter (Inherited from Control.)
Public event MouseHover (Inherited from Control.)
Public event MouseLeave (Inherited from Control.)
Public event MouseMove (Inherited from Control.)
Public event MouseUp (Inherited from Control.)
Public event MouseWheel (Inherited from Control.)
Public event Move (Inherited from Control.)
Public event PaddingChanged (Inherited from Control.)
Public event Paint (Inherited from Control.)
Public event ParentChanged (Inherited from Control.)
Public event PreviewKeyDown (Inherited from Control.)
Public event QueryAccessibilityHelp (Inherited from Control.)
Public event QueryContinueDrag (Inherited from Control.)
Public event Redoing

Raised when an action is going to be redone.

Public event Redone

Raised when an action is already redone.

Public event RegionChanged (Inherited from Control.)
Public event Resize (Inherited from Control.)
Public event RightToLeftChanged (Inherited from Control.)
Public event Scrolled

Raised when a scroll bar is moved.

(Inherited from ViewerBase.)
Public event SizeChanged (Inherited from Control.)
Public event StyleChanged (Inherited from Control.)
Public event SystemColorsChanged (Inherited from Control.)
Public event TabIndexChanged (Inherited from Control.)
Public event TabStopChanged (Inherited from Control.)
Public event TextChanged (Inherited from Control.)
Public event Undoing

Raised when an action is going to be undone.

Public event Undone

Raised when an action is already undone.

Public event Validated (Inherited from Control.)
Public event Validating (Inherited from Control.)
Public event VisibleChanged (Inherited from Control.)
Public event WorkspaceChanged

Raised when the content of an associated workspace is changed or updated.

(Inherited from ViewerBase.)
Public event WorkspaceMouseDown

Raised when a mouse button is pressed down at the image displayed by this viewer control.

(Inherited from ViewerBase.)
Public event WorkspaceMouseMove

Raised when the mouse is moved over the image displayed by this viewer control.

(Inherited from ViewerBase.)
Public event WorkspaceMouseUp

Raised when a mouse button is released at the image displayed by this viewer control.

(Inherited from ViewerBase.)
Public event Zoomed

Raised when the image displayed in this viewer control is zoomed.

(Inherited from ViewerBase.)

Explicit Interface Implementations

Name Description
Explicit interface implemetation Private method IDropTarget.OnDragDrop (Inherited from Control.)
Explicit interface implemetation Private method IDropTarget.OnDragEnter (Inherited from Control.)
Explicit interface implemetation Private method IDropTarget.OnDragLeave (Inherited from Control.)
Explicit interface implemetation Private method IDropTarget.OnDragOver (Inherited from Control.)

See Also

Reference