[This is preliminary documentation and is subject to change.]

Gets or sets the miniature image

Namespace: Tools.TotalCommanderT
Assembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public Bitmap Image { get; set; }
Visual Basic
Public Property Image As Bitmap
	Get
	Set
Visual C++
public:
property Bitmap^ Image {
	Bitmap^ get ();
	void set (Bitmap^ value);
}
F#
member Image : Bitmap with get, set
JScript
function get Image () : Bitmap
function set Image (value : Bitmap)

Field Value

When value of this property is non-null the image will be passed to Total Commander.

When value of this property is null, Total Commander will be instructed to extract miniature image from file at path ImageKey.

Return Value

The miniature image

Remarks

Make sure you scale your image correctly to the desired maximum width+height! Do not fill the rest of the bitmap - instead, create a bitmap which is SMALLER than requested! This way, Total Commander can center your image and fill the rest with the default background color.

See Also