|
|
|
|
|
SftPrintPreviewPrinter.SetPrintResolution Method |
Defines the printing resolution.
Syntax
|
VB.NET |
object.SetPrintResolution(ByVal DPIX As Integer, ByVal DPIY As Integer) |
||
|
VB |
object.SetPrintResolution(ByVal DPIX As Long, ByVal DPIY As Long) |
||
|
C#.NET |
void object.SetPrintResolution(int DPIX, int DPIY); |
||
|
VC++ |
HRESULT object->SetPrintResolution(long DPIX, long DPIY); |
||
|
C |
HRESULT object->raw_SetPrintResolution(long DPIX, long DPIY); |
||
|
Delphi |
procedure object.SetPrintResolution(DPIX : Integer, DPIY : Integer); |
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.