Object Model Reference : Classes : G : Guide : Properties : Guide.Preset |
Property Preset As Boolean
Member of Guide
The Preset property returns a value of True if a guideline is a preset guideline, False if it is not.
The Preset property returns a read-only value.
The following VBA example removes all guidelines that are not preset guidelines on the master page.
Sub Test() |
Dim s As Shape |
For Each s In ActiveDocument.Pages(0).Guides(cdrAllGuides) |
If Not s.Guide.Preset Then s.Delete |
Next s |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.