![]() |
![]() | Object Model Reference : Classes : L : Layer : Methods : Layer.CreateGridBoxes |
Function CreateGridBoxes(Left As Double, Top As Double, Right As Double, Bottom As Double, Wide As Long, High As Long) As Shape
Member of Layer
The CreateGridBoxes method creates a group of rectangles (similarly to using the Graph Paper tool) at a specified location on a layer.
The following VBA example creates a series of rectangles on the active layer, resembling 2 × 3 graph paper.
Sub Test() |
ActiveLayer.CreateGridBoxes 0, 0, 5, 5, 2, 3 |
End Sub |
![]() |
![]() |
![]() |
Copyright 2013 Corel Corporation. All rights reserved.