Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.PrintResolution Property

Defines the printing resolution.

Syntax

Get

VB.NETStyle = object.PrintResolution As SftPrintPreviewResolutionConstants
VBStyle = object.PrintResolution As SftPrintPreviewResolutionConstants
C#.NETSftPrintPreviewResolutionConstants Style = object.PrintResolution;
VC++enum SftPrintPreviewResolutionConstants Style = object->PrintResolution;
enum SftPrintPreviewResolutionConstants Style = object->GetPrintResolution();
CHRESULT object->get_PrintResolution(enum SftPrintPreviewResolutionConstants* Style);

Put

VB.NETobject.PrintResolution = Style As SftPrintPreviewResolutionConstants
VBobject.PrintResolution = Style As SftPrintPreviewResolutionConstants
C#.NETSftPrintPreviewResolutionConstants object.PrintResolution = Style;
VC++enum SftPrintPreviewResolutionConstants object->PrintResolution = Style;
void object->PutPrintResolution(enum SftPrintPreviewResolutionConstants Style);
CHRESULT object->put_PrintResolution(enum SftPrintPreviewResolutionConstants Style);

object

A SftPrintPreviewPrinter object.

Style

Defines the printing resolution.

NameValueDescription
resolutionSftPrintPreviewExplicit0Explicit - An exact resolution has been selected using the Printer.SetPrintResolution method
resolutionSftPrintPreviewDraft-1Draft
resolutionSftPrintPreviewLow-2Low
resolutionSftPrintPreviewMedium-3Medium
resolutionSftPrintPreviewHigh-4High

Comments

The PrintResolution property defines the printing resolution.

The actual resolution is defined by the printer driver.

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

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.