Click or drag to resize

IMcStreamGetFormatDescriptions 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
Syntax
VB
Sub GetFormatDescriptions ( 
	ByRef extensions As Object,
	ByRef descriptions As Object,
	ByRef ReturnValue As Integer
)

Parameters

extensions
Type: SystemObject
descriptions
Type: SystemObject
ReturnValue
Type: SystemInt32

Return Value

Type: 
Long indicating the number of values in the descriptions array
Remarks
The user passes in a SafeArray of Extensions (Usually queried from GetFormatExtensions) and will receive a safearray of the associated file format's descriptions as well as the number found and returned in the long ReturnValue
Examples
VB
Dim extensions as String(3)
Dim descriptions as Variant
extensions(0) = "jpg"
extensions(1) = "tif"
extensions(2) = "avi"
Set descriptions = ThisApplication.Images.File.GetFormatDescriptions(extensions)
Debug.Print "First Descriptions is " & descriptions(0)
See Also

Reference

IMcStreamGetFormatDescriptions(Object, Object, Int32)