The LoadStream attribute function loads an image (with markers and attributes on StreamFormat=TCE), or the image content (for other stream formats) from a variant.
Syntax | |||||
LoadStream(Stream [, StreamFormat][, LanguageID][, ClipFormat]) | |||||
Return value | |||||
Type |
Description | ||||
Long |
0 if successful | ||||
Parameter | |||||
Use |
Name |
Type |
Passing |
Description | |
Required |
Stream |
Variant |
ByVal |
An image saved with SaveStream | |
Optional |
StreamFormat |
LoadStreamFormats |
ByVal |
Format of the Streams | |
Optional |
LanguageID |
Variant |
ByVal |
Language-ID of the picture to be used | |
Optional |
ClipFormat |
Variant |
ByVal |
Clipboard format of the stream, if read from the clipboard | |