Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.Media Method

Returns the names of supported media types.

Syntax

VB.NETName = object.Media(ByVal Index As Integer) As String
VBName = object.Media(ByVal Index As Integer) As String
C#.NETstring Name = object.Media(int Index);
VC++_bstr_t* Name = object->Media(int Index);
CHRESULT object->raw_Media(int Index, BSTR* Name);

object

A SftPrintPreviewPrinter object.

Index

The zero-based index of the requested media.

Name

Returns the names of supported media types.

Comments

The Media method returns the names of supported media types.

This method is only functional on Windows XP and better.

The total number of supported media types for the current printer can be retrieved using the Printer.MediaCount property.

The Printer.MediaValue property can be used to retrieve the equivalent media type value.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.