You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Document Printing > PrintSetUserPaperSize Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.PrintSetUserPaperSize Method

Sets a custom paper size to use by the active printer.

C#
public PrintSetUserPaperSize(
    Single PaperWidth, 
    Single PaperHeight
);
Visual Basic
Public Sub PrintSetUserPaperSize(
    ByVal PaperWidth As Single, 
    ByVal PaperHeight As Single
)
Parameters
Parameters 
Description 
PaperWidth 
Custom paper width in Inches.  
PaperHeight 
Custom paper height in Inches.  
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.