ArcFM Engine Developer Guide
SymbolToBitmap Method


Graphic Element to prepare bitmap from its symbol
Size type variable. Hold the height and width of icon image.
Graphics type variable. Hold the graphics icon reference.
Back color of the bitmap icon.
Convert symbol of Graphic Element to bitmap image.
Syntax
'Declaration
 
Public Shared Function SymbolToBitmap( _
   ByVal graphicElement As ESRI.ArcGIS.Carto.IGraphicElement, _
   ByVal size As Size, _
   ByVal graphics As Graphics, _
   ByVal backColor As Integer _
) As Bitmap
'Usage
 
Dim graphicElement As ESRI.ArcGIS.Carto.IGraphicElement
Dim size As Size
Dim graphics As Graphics
Dim backColor As Integer
Dim value As Bitmap
 
value = WindowHelper.SymbolToBitmap(graphicElement, size, graphics, backColor)
public static Bitmap SymbolToBitmap( 
   ESRI.ArcGIS.Carto.IGraphicElement graphicElement,
   Size size,
   Graphics graphics,
   int backColor
)

Parameters

graphicElement
Graphic Element to prepare bitmap from its symbol
size
Size type variable. Hold the height and width of icon image.
graphics
Graphics type variable. Hold the graphics icon reference.
backColor
Back color of the bitmap icon.

Return Value

Bitmap of the symbol
Remarks
Hold the height and width of icon image. Hold the graphics icon reference.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

WindowHelper Class
WindowHelper Members

 

 


Send Comment