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

IVObjectHost Members

The IVObjectHost type exposes the following members.

Methods

Name Description
Public method ClearHistory

Discards both undo and redo history.

(Inherited from IStateNavigable.)
Public method ClearRedoHistory

Discards redo history.

(Inherited from IStateNavigable.)
Public method ClearUndoHistory

Discards undo history.

(Inherited from IStateNavigable.)
Public method Redo Overloaded.

Redoes last undone change.

Public method RenderWorkspace

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

Public method SaveState

Saves state of the object.

(Inherited from IStateNavigable.)
Public method Undo Overloaded.

Undoes last made change.

Properties

Name Description
Public property CanRedo

Indicates if last reverted action can be redone.

(Inherited from IStateNavigable.)
Public property CanUndo

Indicates if last change can be undone.

(Inherited from IStateNavigable.)
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 DefaultDesigner

Gets the default designer associated with the host object.

Public property DesignerOptions

Gets options available to all designers.

Public property HostViewer

Gets a reference to a currently used viewer control.

Public property Layers

Returns the layer collection of an object.

Public property MaxUndoStepCount

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

(Inherited from IStateNavigable.)
Public property RedoStepCount

Returns number of available redo levels (i.e. how much time method Redo() can be called).

(Inherited from IStateNavigable.)
Public property UndoRedoEnabled

Enables or disables undo/redo functionality.

(Inherited from IStateNavigable.)
Public property UndoRedoTrackingEnabled

Enables or disables the automatic change tracking.

(Inherited from IStateNavigable.)
Public property UndoStepCount

Returns number of available undo levels (i.e. how much time method Undo() can be called).

(Inherited from IStateNavigable.)

Events

Name Description
Public event CurrentLayerChanged

Raised when another layer is selected by the user.

Public event DesignerChanged

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

Public event Redoing

Fires when image is being redone (before starting).

(Inherited from IStateNavigable.)
Public event Redone

Fires when operation has been redone (after finishing).

(Inherited from IStateNavigable.)
Public event Undoing

Fires when image is being undone (before starting).

(Inherited from IStateNavigable.)
Public event Undone

Fires when operation has been undone (after finishing).

(Inherited from IStateNavigable.)

See Also

Reference