PrintSetUserPaperSize Method (GdPictureImaging)
Sets up a custom paper size to be used by the active printer.
public function PrintSetUserPaperSize(
: Single;
: Single
): GdPictureStatus;
public function PrintSetUserPaperSize(
: float,
: float
) : GdPictureStatus;
'Declaration
Public Function PrintSetUserPaperSize( _
ByVal As Single, _
ByVal As Single _
) As GdPictureStatus
Parameters
- PaperWidth
- The custom paper width to be used, in inches.
- PaperHeight
- The custom paper height to be used, in inches.
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.