![]() |
![]() |
Layer.CreateGuideAngle
Function CreateGuideAngle(x As Double, y As Double, Angle As Double) As Shape
Member of Layer
The CreateGuideAngle method creates a guideline using a point and an angle.
The following code example creates 10 guidelines that intersect at the center of the page:
Sub Test() Const an As Long = 10 Dim i As Long ActiveDocument.DrawingOriginX = 0 ActiveDocument.DrawingOriginY = 0 For i = 0 To an - 1 ActiveLayer.CreateGuideAngle 0, 0, i * 360 / an Next i End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.