Previous Document Next Document

Object Model Reference : Classes : P : Page : Properties : Page.Guides


Page.Guides

Property Guides([Type As cdrGuideType = cdrAllGuides]) As ShapeRange

Description

Member of Page

The Guides property returns a set of local guidelines defined on the page.

The Guides property returns a read-only value.

Parameter
Description
Type
Specifies the type of guideline on a page, and returns cdrGuideType. This parameter is optional, and its default value is cdrAllGuides (-1).

VBA example

The following VBA example deletes all of the local vertical guidelines on the active page.

Sub Test()
 ActiveDocument.MasterPage.Guides(cdrVerticalGuide).Delete
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.