A PaperSize object that defines the new value of the paper size to be used.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / PrintSetPaperSize Method

PrintSetPaperSize Method (GdPictureImaging)

In This Topic
Sets the paper size, means the type of the paper, to be used by the active printer.
Syntax
'Declaration
 
Public Function PrintSetPaperSize( _
   ByVal PaperSize As PaperSize _
) As GdPictureStatus
public GdPictureStatus PrintSetPaperSize( 
   PaperSize PaperSize
)
public function PrintSetPaperSize( 
    PaperSize: PaperSize
): GdPictureStatus; 
public function PrintSetPaperSize( 
   PaperSize : PaperSize
) : GdPictureStatus;
public: GdPictureStatus PrintSetPaperSize( 
   PaperSize* PaperSize
) 
public:
GdPictureStatus PrintSetPaperSize( 
   PaperSize^ PaperSize
) 

Parameters

PaperSize
A PaperSize object that defines the new value of the paper size to be used.

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