PrintGetPaperHeight Method (GdPictureImaging)
Returns the height of the paper to be used by the active printer.
public float PrintGetPaperHeight()
public function PrintGetPaperHeight(): Single;
public function PrintGetPaperHeight() : float;
public: float PrintGetPaperHeight();
public:
float PrintGetPaperHeight();
'Declaration
Public Function PrintGetPaperHeight() As Single
Return Value
The paper height, in inches.
Determining information about the paper size used by the active printer.
using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
{
Console.WriteLine("Paper size information:");
Console.WriteLine("Paper width: {0} inches", gdpictureImaging.PrintGetPaperWidth().ToString());
Console.WriteLine("Paper height: {0} inches", gdpictureImaging.PrintGetPaperHeight().ToString());
}