SftPrintPreview/OCX 1.0

SftPrintPreviewPrinter.MediaValue Method

Softel vdm, Inc.

Returns the media identifier (used by DEVMODE, dmMediaType structure member).

Syntax       

VB.NET

Value = object.MediaValue(ByVal Index As Integer)  As Integer

VB

Value = object.MediaValue(ByVal Index As Integer)  As Integer

C#.NET

int Value = object.MediaValue(int Index);

VC++

int* Value = object->MediaValue(int Index);

C

HRESULT object->raw_MediaValue(int Index, int* Value);

Delphi

Value := object.MediaValue(Index : Integer)   : Integer;

object

A SftPrintPreviewPrinter object.

Index

The zero-based index of the requested media.

Value

Returns the media identifier (used by DEVMODE, dmMediaType structure member).

Comments

The MediaValue method returns the media identifier (used by DEVMODE, dmMediaType structure member).

This method is only functional on Windows XP and better.


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