Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.MoveGuidelineUsingAngleByIndex


CorelScript.MoveGuidelineUsingAngleByIndex

Function MoveGuidelineUsingAngleByIndex(Index As Long, InterceptX As Long, InterceptY As Long, Angle As Long, Locked As Boolean) As Long

Description

Member of CorelScript

The MoveGuidelineUsingAngleByIndex method moves a specified guideline to a new location by using an intersection point and an angle.

Parameter
Description
Index
Specifies the ID of the guideline. To determine the ID of a guideline, use the CorelScript.GetNumberOfGuidelines method.
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.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.