The first page from the required range of pages.
The last page from the required range of pages.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / PrintSetFromToPage Method

PrintSetFromToPage Method (GdPictureImaging)

In This Topic
Sets up the required range of pages you want to print during the next print process using the active printer.
Syntax
'Declaration
 
Public Function PrintSetFromToPage( _
   ByVal FromPage As Integer, _
   ByVal ToPage As Integer _
) As GdPictureStatus
public GdPictureStatus PrintSetFromToPage( 
   int FromPage,
   int ToPage
)
public function PrintSetFromToPage( 
    FromPage: Integer;
    ToPage: Integer
): GdPictureStatus; 
public function PrintSetFromToPage( 
   FromPage : int,
   ToPage : int
) : GdPictureStatus;
public: GdPictureStatus PrintSetFromToPage( 
   int FromPage,
   int ToPage
) 
public:
GdPictureStatus PrintSetFromToPage( 
   int FromPage,
   int ToPage
) 

Parameters

FromPage
The first page from the required range of pages.
ToPage
The last page from the required range of pages.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
Just to remind you that the active printer is the printer identified by the PrintGetActivePrinter method or set by the PrintSetActivePrinter method and it is dedicated to executing all subsequent print jobs using this class as well as utilizing all by you altered printer settings.
See Also