GetOneWayLayout
Function used to perform segment layouts at a specified span, horizontal run, as well as spacing.
Arguments:
AItem: String
Specifies the area section to assign the layout segments to.
sSpanHint: String
Hint message displayed on mouse cursor indicating to pick the "span" direction.
sRunHint: String
Hint message displayed on mouse cursor indicating to pick the "run" direction.
bIncludeFirst: Boolean
Specifies whether to include a segment at the "start" run point. Even if it does not fall within the spacing range.
bIncludeLast: Boolean
Specifies whether to include a segment at the "last" run point. Even if it does not fall within the spacing range.
nSpacing: Double
Specifies the "run" spacing used when laying out segment objects.
AArea: String (optional parameter)
Specifies a defined "Area Segment" to trim/extend laid segments to. Supply either the path or GUID to the area section. Or, empty double-quotes for no trim/extending required.
Syntax:
Procedure: GetOneWayLayout(aItem: string; sSpanHint, sRunHint: string; bIncludeFirst, bIncludeLast: boolean; nSpacing: double; aAreaSection: string): boolean;
API Call: