Visual Basic: CommonDialog Control

Visual Studio 6.0

FromPage, ToPage Properties

See Also   Example   Applies To

Return or set the values for the From and To text boxes of the Print dialog.

Syntax

object.FromPage [= number]

object.ToPage [= number]

The FromPage and ToPage property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
number A numeric expression that specifies the first and last pages to be printed.

Remarks

These properties are valid only when the cdlPDPageNums flag has been set.

Data Type

Integer

Show: