Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.SetPrintResolution Method

Defines the printing resolution.

Syntax

VB.NETobject.SetPrintResolution(ByVal DPIX As Integer, ByVal DPIY As Integer)
VBobject.SetPrintResolution(ByVal DPIX As Long, ByVal DPIY As Long)
C#.NETvoid object.SetPrintResolution(int DPIX, int DPIY);
VC++HRESULT object->SetPrintResolution(long DPIX, long DPIY);
CHRESULT object->raw_SetPrintResolution(long DPIX, long DPIY);

object

A SftPrintPreviewPrinter object.

DPIX

Defines the number of pixels per inch horizontally.

DPIY

Defines the number of pixels per inch vertically.

Comments

The SetPrintResolution method defines the printing resolution.

The Printer.Resolution method and Printer.ResolutionCount property can be used to list exact, pixel-based resolutions.

The combination of DPIX and DPIY must be a valid combination as returned by a call to the Printer.Resolution method.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


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