Table of contents
TOC
Collapse the table of content
Expand the table of content

Page.IsTrailing Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

True if the specified Page object is a trailing page of a two-page spread. Read-only Boolean.

Syntax

expression. IsTrailing

_expression_A variable that represents an Page object.

Return Value

Boolean

Example

The following example diplays for each page whether the page is a trailing or leading page in the publication.

Dim objPage As Page 
Dim strPageInfo As String 
For Each objPage In ActiveDocument.Pages 
 strPageInfo = "Page number " &; objPage.PageNumber 
 If objPage.IsLeading Then 
 strPageInfo = strPageInfo &; " is a leading page." &; Chr(13) 
 ElseIf objPage.IsTrailing Then 
 strPageInfo = strPageInfo &; " is a trailing page." &; Chr(13) 
 End If 
 MsgBox strPageInfo 
Next objPage
© 2018 Microsoft