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

  • leftaligns the v-object along the left edge of the canvas.
  • horizontalCentercenters the v-object horizontally within the canvas.
  • rightaligns the v-object along the right edge of the canvas.
  • topaligns the v-object along the top edge of the canvas.
  • verticalCentercenters the v-object vertically within the canvas.
  • bottomaligns the v-object along the bottom edge of the canvas.

See Also

Reference