SftPrintPreview/OCX 1.0

SftPrintPreviewPrinter.PaperWidth Property

Softel vdm, Inc.

Defines the paper width.

Syntax       

Get

VB.NET

width = object.PaperWidth  As Integer

VB

width = object.PaperWidth  As Integer

C#.NET

short width = object.PaperWidth;

VC++

short width = object->PaperWidth;
short width = object->GetPaperWidth();

C

HRESULT object->get_PaperWidth(short* width);

Delphi

width := object.PaperWidth   : Smallint;

Put

VB.NET

object.PaperWidth = width  As Integer

VB

object.PaperWidth = width  As Integer

C#.NET

short object.PaperWidth = width;

VC++

short object->PaperWidth = width;
void object->PutPaperWidth(short width);

C

HRESULT object->put_PaperWidth(short width);

Delphi

object.PaperWidth := width   : Smallint;

object

A SftPrintPreviewPrinter object.

width

Defines the paper width.

Comments

The PaperWidth property defines the paper width.

The Printer.PaperLength property defines the paper length.

The Printer.PaperSize and Printer.PaperSizeValue properties can be used to define the paper size for the current printer using predefined paper sizes.


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