SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Returns the names of supported media types.
VB.NET | Name = object.Media(ByVal Index As Integer) As String |
VB | Name = object.Media(ByVal Index As Integer) As String |
C#.NET | string Name = object.Media(int Index); |
VC++ | _bstr_t* Name = object->Media(int Index); |
C | HRESULT 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.
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