You’re viewing documentation for an outdated product. Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see Design Atoms .NET, Design Atoms JS, and Design Editor.

Canvas.alignVObject Method

Applies to: Graphics Mill Web Controls · Archived documentation

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