Search
PrintPreview.CurrentPage Property
See Also
 



Gets or sets the current page in the preview window.

 Syntax

VB6  Copy Code

Public Property Get CurrentPage() As Long
Public Property Let CurrentPage( _
    ByVal value As Long _
)

C++  Copy Code

public:
int get_CurrentPage ()
void put_CurrentPage (
    int value
)

 Property Value

A long value. The default is 0.

 Remarks

The index is zero-based when using the property programmatically, though the page number displayed in the page header is one-based.

 See Also