Previous Document Next Document
Guide.Preset

Property Preset As Boolean

Member of Guide

The Preset property determines whether a guideline is a preset guideline. If a guideline is a preset guideline, the Preset property returns a value of True. If it is not a preset guideline, a value of False is returned.

The Preset property returns a read-only value.

The following code 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.