Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.GetPrintableArea Method

Returns the printable area of the page (in pixels).

Syntax

VB.NETobject.GetPrintableArea(ByRef left As Integer, ByRef top As Integer, ByRef width As Integer, ByRef height As Integer)
VBobject.GetPrintableArea(left As Long, top As Long, width As Long, height As Long)
C#.NETvoid 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);
CHRESULT object->raw_GetPrintableArea(long* left, long* top, long* width, long* height);

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.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.