Previous Document Next Document

Object Model Reference : Classes : G : Guide : Properties : Guide.Preset


Guide.Preset

Property Preset As Boolean

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.