Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Linear Algorithm

Office 2007

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The linear (lin) algorithm arranges child layout nodes along a linear path.

Parameter

Values

Description

linDir

  • fromL (from left, default)

  • fromR (from right)

  • fromT (from top)

  • fromB (from bottom)

Specifies whether child nodes are arranged from left to right, right to left, top to bottom, or bottom to top.

nodeHorzAlign

  • l (left)

  • ctr (center, default)

  • r (right)

Specifies how child nodes are aligned along the x-axis in the extent of the layout node. For example, you can align the tops of all the child nodes by using node alignment, and then center the entire results in the canvas by using horzAlign or vertAlign.

nodeVertAlign

  • t (top)

  • mid (middle, default)

  • b (bottom)

Specifies how child nodes are aligned along the y-axis in the extent of the layout node.

fallback

  • 1D (one-dimensional)

  • 2D (two-dimensional)

1D specifies fallback; it scales only in one dimension. 2D specifies fallback; it scales in both dimensions equally.

horzAlign

  • l (left)

  • ctr (center, default)

  • r (right)

Aligns all the child nodes in the space reserved for the parent node and adjusts child node positions along the x-axis.

vertAlign

  • t (top)

  • mid (middle, default)

  • b (bottom)

Aligns all the child nodes in the space reserved for the parent node and adjusts child node positions along the y-axis.

Show:
© 2014 Microsoft