Previous Document Next Document

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


CorelScript.MoveGuidelineUsingTwoPointsByIndex

Function MoveGuidelineUsingTwoPointsByIndex(Index As Long, Point1X As Long, Point1Y As Long, Point2X As Long, Point2Y As Long, Locked As Boolean) As Long

Description

Member of CorelScript

The MoveGuidelineUsingTwoPointsByIndex method moves a specified guideline to a new location by using two sets of coordinates.

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
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.