RegionBaseDrawToBitmap(Color, Boolean) Method

Getting an element image with the specified background color.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
C#
public IBitmap DrawToBitmap(
	Color bgColor,
	bool ctrlFocused
)

Parameters

bgColor  Color
Background color.
ctrlFocused  Boolean
Specifies whether the element should have focus when drawn.

Return Value

IBitmap
Element image.

See Also