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

Canvas.alignVObject Method

Aligns the specified v-object.

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

Syntax

Java Script
function alignVObject(vObject, align);

Parameters

vObject

Type: Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject

Vector object to align.
align

Type: Global.String

Alignment. See the Remarks section for a list of alignment options.

Remarks

  • left aligns the v-object along the left edge of the canvas.
  • horizontalCenter centers the v-object horizontally within the canvas.
  • right aligns the v-object along the right edge of the canvas.
  • top aligns the v-object along the top edge of the canvas.
  • verticalCenter centers the v-object vertically within the canvas.
  • bottom aligns the v-object along the bottom edge of the canvas.

See Also

Reference