Represents guideline-specific information for a shape (or Shape object)
Syntax:
Class Guide
Remarks:
The Guide class represents guideline-specific information for a shape (or Shape object).
Properties:
Name Description
Angle Returns the slope angle of the guideline
CenterX Returns the X coordinate of the point on a guideline closest to the page center
CenterY Returns the Y coordinate of the point on a guideline closest to the page center
InterceptX Returns the X coordinate of the intersection of the guideline and the horizontal axis going through the center of the page
InterceptY Returns the Y coordinate of the intersection of the guideline and the vertical axis going through the center of the page
Point1X Returns the horizontal position of the first guideline point
Point1Y Returns the vertical position of the first guideline point
Point2X Returns the horizontal position of the second guideline point
Point2Y Returns the vertical position of the second guideline point
Preset Gets of the guideline is a preset
Type Gets the type of guideline
Methods:
Name Description
GetPointAndAngle Returns the position of a point on a guideline and the slope angle
GetPoints Returns the XY coordinates of the two points of the guideline
MakeEditable Makes the guideline editable
SetPointAndAngle Moves/rotates the guideline by specifying a point and a slope angle
SetPoints Moves/rotates the guideline by specifying two points