Draws a guide line based on the specified coordinates of the coordinate origin (the GPinX and GPinY properties) of the guide line and the angle, to which it's turned with respect to its coordinate origin. Returns an instance of the Shape object that represents the created service object.
Applies to: Page object, Shape object
[[Set] servObjRet =] object.DrawGuide ( xGPin, yGPin, angle ) |
The DrawGuide method syntax has these parts:
Part | Description |
object | Required. An expression that returns an instance of an object from the Applies to list. |
xGPin | Required. An expression that returns a Double value. Represents the X-coordinate of the coordinate origin (the GPinX property). |
yGPin | Required. An expression that returns a Double value. Represents the Y-coordinate of the coordinate origin (the GPinY property). |
angle | Required. An expression that returns a Double value. Represents the angle to which the guide line is turned counter-clockwise relevant to its horizontal position in the coordinate system of object. |
servObjRet | Optional. A Shape type variable. |
When object is a page or a group, the DrawGuide method creates a guide line and adds it to the service object collection of the corresponding page or group. The coordinates of the origin of the guide are specified in the coordinate system of object. The angle value is set in radians.
If object is a simple shape, the DrawGuide method takes no action and returns Nothing.
See Also |
RemoveServObj method, RemoveServObjByID method, ReorderServObj method, ReorderServObjByID method, ServObj method, ServObjByID method, ServObjsNum method, ServObj object |