Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.GetGuidelineInformation |
Function GetGuidelineInformation(Index As Long, Point1X As Long, Point1Y As Long, Point2X As Long, Point2Y As Long, InterceptX As Long, InterceptY As Long, Angle As Long, Locked As Boolean) As Long
Member of CorelScript
The GetGuidelineInformation method returns all the information available about a specified guideline.
• |
The Point... parameters are equivalent to the coordinates used in the
CorelScript.CreateGuidelineUsingTwoPoints method, and the Intercept...
and Angle parameters are equivalent to the parameters used in the
CorelScript.CreateGuidelineUsingAngle command.
|
Parameter
|
Description
|
Index
|
Specifies the ID of the guideline. To determine the ID of a guideline, use the CorelScript.GetNumberOfGuidelines method.
|
Point1X
|
Specifies the x-coordinate of the first point, in tenths of a micron and relative to the center of the page
|
Point1Y
|
Specifies the y-coordinate of the first point, in tenths of a micron and relative to the center of the page
|
Point2X
|
Specifies the x-coordinate of the second point, in tenths of a micron and relative to the center of the page
|
Point2Y
|
Specifies the y-coordinate of the second point, in tenths of a micron and relative to the center of the page
|
InterceptX
|
Specifies the x-coordinate of the intersection point, in tenths of a micron and relative to the center of the page
|
InterceptY
|
Specifies the y-coordinate of the intersection point, in tenths of a micron and relative to the center of the page
|
Angle
|
Specifies the angle of the guideline, in millionths of a degree (for example, 5000000 = 5°)
|
Locked
|
Specifies whether the guideline is locked. True (-1) specifies that the guideline is locked, while False (0) specifies it as unlocked.
|
Copyright 2013 Corel Corporation. All rights reserved.