ImageMan ActiveX Control Version 8
Extension Property
See Also  Example  Send comments on this topic.
index
Specifies the Index of the extension to return.

Glossary Item Box

Description

Returns all supported image extensions.

Property type

Read-only property

Syntax

Visual Basic
Public Property Extension( _
   ByVal index As Integer _
) As String

Parameters

index
Specifies the Index of the extension to return.

Remarks

This property works in conjunction with the ExtensionCount property, which returns the number of supported extensions for the object.

This list is built when the ImageMan is loaded. Because of ImageMan's object-oriented architecture the number of supported formats will vary based on which DIL files are installed.

Example

(Visual Basic)Copy Code
' Add the list of the supported extensions to a listbox

For I = 0 To ImageControl1.ExtensionCount - 1
    List1.AddItem ImageControl1.Extension(I)
Next I

See Also

© 2014 Data Techniques Inc. All Rights Reserved.