SftPrintPreview/OCX 1.0

SftPrintPreviewPrinter.PrintResolution Property

Softel vdm, Inc.

Defines the printing resolution.

Syntax       

Get

VB.NET

Style = object.PrintResolution  As SftPrintPreviewResolutionConstants

VB

Style = object.PrintResolution  As SftPrintPreviewResolutionConstants

C#.NET

SftPrintPreviewResolutionConstants Style = object.PrintResolution;

VC++

enum SftPrintPreviewResolutionConstants Style = object->PrintResolution;
enum SftPrintPreviewResolutionConstants Style = object->GetPrintResolution();

C

HRESULT object->get_PrintResolution(enum SftPrintPreviewResolutionConstants* Style);

Delphi

Style := object.PrintResolution  : TOleEnum;

Put

VB.NET

object.PrintResolution = Style  As SftPrintPreviewResolutionConstants

VB

object.PrintResolution = Style  As SftPrintPreviewResolutionConstants

C#.NET

SftPrintPreviewResolutionConstants object.PrintResolution = Style;

VC++

enum SftPrintPreviewResolutionConstants object->PrintResolution = Style;
void object->PutPrintResolution(enum SftPrintPreviewResolutionConstants Style);

C

HRESULT object->put_PrintResolution(enum SftPrintPreviewResolutionConstants Style);

Delphi

object.PrintResolution := Style  : TOleEnum;

object

A SftPrintPreviewPrinter object.

Style

Defines the printing resolution.

Name

Value

Description

resolutionSftPrintPreviewExplicit

0

Explicit - An exact resolution has been selected using the Printer.SetPrintResolution method

resolutionSftPrintPreviewDraft

-1

Draft

resolutionSftPrintPreviewLow

-2

Low

resolutionSftPrintPreviewMedium

-3

Medium

resolutionSftPrintPreviewHigh

-4

High

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.


Feedback / comments / error reports for this topic
© 2004 - Softel vdm, Inc. - www.windowscontrols.com