SftPrintPreview/OCX 1.0

SftPrintPreviewPrinter.Copies Property

Softel vdm, Inc.

Defines the number of copies.

Syntax       

Get

VB.NET

Count = object.Copies  As Integer

VB

Count = object.Copies  As Integer

C#.NET

short Count = object.Copies;

VC++

short Count = object->Copies;
short Count = object->GetCopies();

C

HRESULT object->get_Copies(short* Count);

Delphi

Count := object.Copies   : Smallint;

Put

VB.NET

object.Copies = Count  As Integer

VB

object.Copies = Count  As Integer

C#.NET

short object.Copies = Count;

VC++

short object->Copies = Count;
void object->PutCopies(short Count);

C

HRESULT object->put_Copies(short Count);

Delphi

object.Copies := Count   : Smallint;

object

A SftPrintPreviewPrinter object.

Count

Defines the number of copies.

Comments

The Copies property defines the number of copies.

When printing to the current printer, the specified number of copies are created.  Some printers ignore the defined number of copies and print 1 copy only.

The Printer.MaxCopies property can be used to determine the maximum number of copies that can be printed.


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