Loads a FreeImage multi-paged bitmap.
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static FIMULTIBITMAP OpenMultiBitmapEx( string filename, bool create_new, bool read_only, bool keep_cache_in_memory ) |
Visual Basic (Declaration) |
---|
Public Shared Function OpenMultiBitmapEx ( _ filename As String, _ create_new As Boolean, _ read_only As Boolean, _ keep_cache_in_memory As Boolean _ ) As FIMULTIBITMAP |
Visual C++ |
---|
public: static FIMULTIBITMAP OpenMultiBitmapEx( String^ filename, bool create_new, bool read_only, bool keep_cache_in_memory ) |
Parameters
- filename
- Type: System..::.String
The complete name of the file to load.
- create_new
- Type: System..::.Boolean
When true a new bitmap is created.
- 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. |