|
|
|
|
|
SftPrintPreviewPrinter.GetPrintableArea Method |
Returns the printable area of the page (in pixels).
Syntax
|
VB.NET |
object.GetPrintableArea(ByRef left As Integer, ByRef top As Integer, ByRef width As Integer, ByRef height As Integer) |
||
|
VB |
object.GetPrintableArea(left As Long, top As Long, width As Long, height As Long) |
||
|
C#.NET |
void object.GetPrintableArea(out int left, out int top, out int width, out int height); |
||
|
VC++ |
HRESULT object->GetPrintableArea(long* left, long* top, long* width, long* height); |
||
|
C |
HRESULT object->raw_GetPrintableArea(long* left, long* top, long* width, long* height); |
||
|
Delphi |
procedure object.GetPrintableArea(out left : Integer, out top : Integer, out width : Integer, out height : Integer); |
object
A SftPrintPreviewPrinter object.
left
The horizontal offset from the left edge of the paper to the printable area, in pixels (printer units, based on current printer resolution Printer.GetPrintResolution).
top
The vertical offset from the top edge of the paper to the printable area, in pixels (printer units, based on current printer resolution Printer.GetPrintResolution).
width
The width of the printable area, in pixels (printer units, based on current printer resolution Printer.GetPrintResolution).
height
The height of the printable area, in pixels (printer units, based on current printer resolution Printer.GetPrintResolution).
Comments
The GetPrintableArea method returns the printable area of the page (in pixels).
The printable area of a page is generally slightly smaller than the page. The GetPrintableArea method is used to retrieve the exact area where printing is possible.