SftPrintPreview/OCX 1.0

SftPrintPreviewPrinter.MediaCount Property

Softel vdm, Inc.

Returns the number of supported media types.

Syntax       

Get

VB.NET

Total = object.MediaCount  As Integer

VB

Total = object.MediaCount  As Integer

C#.NET

int Total = object.MediaCount;

VC++

int Total = object->MediaCount;
int Total = object->GetMediaCount();

C

HRESULT object->get_MediaCount(int* Total);

Delphi

Total := object.MediaCount   : Integer;

object

A SftPrintPreviewPrinter object.

Total

Returns the number of supported media types.

Comments

The MediaCount property returns the number of supported media types.

This method is only functional on Windows XP and better.


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