IMcStreamGetFormatExtensions Method
|
|
Method used to retrive textual descriptions for a list of file extensions
Namespace:
MediaCy.IQL.IO
Assembly:
MediaCy.IQL.IO (in MediaCy.IQL.IO.dll) Version: 10.0.6912.0
SyntaxSub GetFormatExtensions (
ByRef descriptions As Object,
ByRef extensions As Object,
ByRef ReturnValue As Integer
)
Parameters
- descriptions
- Type: SystemObject
- extensions
- Type: SystemObject
- ReturnValue
- Type: SystemInt32
Return Value
Type:
Long indicating the number of values in the extensions array
RemarksThe user passes in a SafeArray of Descriptions (Usually queried from GetFormatDescriptions)
and will receive a safearray of their file extensions as well as the number found and returned
in the long ReturnValue
ExamplesDim descriptions as String(3)
Dim extensions as Variant
descriptions(0) = "JPEG"
descriptions(1) = "TIFF"
descriptions(2) = "AVI"
Set extensions = ThisApplication.Images.File.GetFormatExtensions(descriptions)
Debug.Print "First Extension is " & extensions(0)
See Also