Some formats (BMP, ICO, CUR), if stored as resources (in EXE, DLL, etc...), do not contain some headers.

If you set IsResource=true, these headers are not expected allowing to load correctly the image.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool IsResource { get; set; }
Public Property IsResource As Boolean
	Get
	Set
public:
property bool IsResource {
	bool get ();
	void set (bool value);
}

See Also