Loads a FreeImage multi-paged bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIMULTIBITMAP OpenMultiBitmapEx( string filename, bool read_only, bool keep_cache_in_memory ) |
Visual Basic (Declaration) |
---|
Public Shared Function OpenMultiBitmapEx ( _ filename As String, _ read_only As Boolean, _ keep_cache_in_memory As Boolean _ ) As FIMULTIBITMAP |
Visual C++ |
---|
public: static FIMULTIBITMAP OpenMultiBitmapEx( String^ filename, bool read_only, bool keep_cache_in_memory ) |
Parameters
- filename
- Type: System..::.String
The complete name of the file to load.
- read_only
- Type: System..::.Boolean
When true the bitmap will be loaded read only.
- keep_cache_in_memory
- Type: System..::.Boolean
When true performance is increased at the cost of memory.
Return Value
Handle to a FreeImage multi-paged bitmap.Exceptions
Exception | Condition |
---|---|
System.IO..::.FileNotFoundException | filename does not exists while opening. |