Measures the bounds, needed to show the Image in the Column with specified ImageSettings.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public static Rectangle MeasureHeaderCaptionIconBounds(
	Image image,
	Rectangle bounds,
	ImageSettings imageSettings
)
Visual Basic
Public Shared Function MeasureHeaderCaptionIconBounds ( 
	image As Image,
	bounds As Rectangle,
	imageSettings As ImageSettings
) As Rectangle
Visual C++
public:
static Rectangle MeasureHeaderCaptionIconBounds(
	Image^ image, 
	Rectangle bounds, 
	ImageSettings^ imageSettings
)
F#
static member MeasureHeaderCaptionIconBounds : 
        image : Image * 
        bounds : Rectangle * 
        imageSettings : ImageSettings -> Rectangle 

Parameters

image
Type: System.Drawing..::..Image
The image to be displayed in the Column.
bounds
Type: System.Drawing..::..Rectangle
The Column's caption bounds.
imageSettings
Type: Dapfor.Net.Ui..::..ImageSettings
The image settings.

Return Value

Type: Rectangle
The bounds, nested to display the Image in the Column.

See Also