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

History.addVObjectAdded Method

Adds the VObjectAddedCommand command to the history.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects.RedoUndo
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)

Syntax

Java Script
function addVObjectAdded(vObject, vObjectIndex, layerIndex);

Parameters

vObject

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject

The v-object that was added.
vObjectIndex

Type: Global.Number

An index of this v-object.
layerIndex

Type: Global.Number

An index of the layer this v-object belongs to.

Remarks

This method corresponds to History.AddVObjectAdded(VObject, Int32, Int32) server-side member.

See Also

Reference