PageCountAcross

Description

Gets the total number of horizontal pages that are wider than the Print Preview window when a DataWindow object is viewed in Print preview.

Syntax

PageCountAcross ( )

Returns

Long. Returns the total number of horizontal pages if it succeeds and –1 if an error occurs.

Usage

PageCountAcross applies to Print Preview.

Examples

Example 1

This expression returns the number of horizontal pages in the Print Preview window:

PageCountAcross()

See also