Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.Resolution Method

Returns the supported printing resolutions.

Syntax

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

object

A SftPrintPreviewPrinter object.

Index

The zero-based index of the requested resolution.

DPIX

Returns the number of pixels per inch horizontally.

DPIY

Returns the number of pixels per inch vertically.

Comments

The Resolution method returns the supported printing resolutions.

The total number of available resolutions for the current printer can be retrieved using the Printer.ResolutionCount property.

An exact resolution can be selected using the Printer.SetPrintResolution method.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


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