Loads a FreeImage multi-paged bitmap.

Namespace:  FreeImageAPI
Assembly:  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

ExceptionCondition
System.IO..::.FileNotFoundException filename does not exists while opening.

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also