Returns a bitmap of the specified size and width, containing the current symbol scaled to maintain the current aspect ratio with the specified background color.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Bitmap GetBitmap(
	int width,
	int height,
	Color background
)
Visual Basic (Declaration)
Public Function GetBitmap ( _
	width As Integer, _
	height As Integer, _
	background As Color _
) As Bitmap

Parameters

width
Type: System..::.Int32

The width of the bitmap in pixels.
height
Type: System..::.Int32

The height of the bitmap in pixels.
background
Type: System.Drawing..::.Color

The Colorof the background of the bitmap, used to fill remaining areas of the requested size bitmap if the aspect ratio of the current display does not match the aspect ratio of the specified width and height.

Return Value

A Bitmap of the current symbol.

Remarks

This overload can be used to return a bitmap of the specified symbol using the desired height and width, using the specified background color.

See Also