SftPrintPreview/OCX 1.0

SftPrintPreview.TotalPages Property

Softel vdm, Inc.

Returns the total number of pages.

Syntax       

Get

VB.NET

Count = object.TotalPages  As Integer

VB

Count = object.TotalPages  As Long

C#.NET

int Count = object.TotalPages;

VC++

long Count = object->TotalPages;
long Count = object->GetTotalPages();

C

HRESULT object->get_TotalPages(long* Count);

Delphi

Count := object.TotalPages   : Integer;

object

A SftPrintPreview object.

Count

Returns the total number of pages.

Comments

The TotalPages property returns the total number of pages.

If the output has not yet been completely formatted, the total number of pages is unknown and this property returns 999,999.


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