Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.GetPrintResolution Method

Returns the printing resolution.

Syntax

VB.NETobject.GetPrintResolution(ByRef DPIX As Integer, ByRef DPIY As Integer)
VBobject.GetPrintResolution(DPIX As Long, DPIY As Long)
C#.NETvoid object.GetPrintResolution(out int DPIX, out int DPIY);
VC++HRESULT object->GetPrintResolution(long* DPIX, long* DPIY);
CHRESULT object->raw_GetPrintResolution(long* DPIX, long* DPIY);

object

A SftPrintPreviewPrinter object.

DPIX

Returns the number of pixels per inch horizontally.

DPIY

Returns the number of pixels per inch vertically.

Comments

The GetPrintResolution method returns the printing resolution for the current printer and the current printer settings.

Printer.SetPrintResolution can be used to select a printing resolution.

Printer.Resolution and Printer.ResolutionCount return information about the available printing resolutions.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


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