This method retrieves the format function set.
[Delphi] [ Integer =
]previewcontrolname.GetStreamFormats
Parameters
None
Return Value
Returns the number of retrieved format sets.
Explanation
The GetStreamFormats method retrieves the format function set.
When the GetStreamFormats method is successful, return value of 1 or more, then by executing the GetStreamFormat method, you can retrieve the output size and other format information.
When the GetStreamFormats method is unsuccessful, return value of 0, then values of 2 or 11 will be set in the ErrorStatus property.
Before executing the GetStreamFormats method, you must first execute the Open method