Copyright © 2003-2010 MultiMedia Soft

GetControlBitmap method

Previous pageReturn to chapter overviewNext page

Remarks

 

Gets the image of the control in form of a Bitmap object.

 

Syntax

 

[Visual Basic]

Public Function GetControlBitmap(nImage as Ctl3d.ExportImage) as Bitmap

 

[C#]

public Bitmap GetControlBitmap(Ctl3d.ExportImage nImage);

 

[C++]

public: Bitmap *GetControlBitmap(Ctl3d.ExportImage nImage);

 

 

Parameter

Description

 

 

nImage

Value that identifies the image that must be exported. Supported values are the following:

Enumerated value

Value

Meaning

ExportImage.Normal

0

The image of the button in normal state.

ExportImage.MouseOver

1

The image of the button when the mouse is over its surface.

ExportImage.Pressed

2

The image of the button in pressed state.

ExportImage.Focus

3

The image of the button when it has the input focus.

ExportImage.Disabled

4

The image of the button in disabled state.

 

Return value

 

Value

Meaning

 

 

0

The operation failed

value > 0

The Bitmap object