Converts System font information to an ArcIMS FontInfo object.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function ToIMSFontInfo( _
ByVal font As Font, _
ByVal fontColor As Color _
) As ESRI.ArcGIS.ADF.IMS.FontInfo |
Visual Basic (Usage) | Copy Code |
---|
Dim font As Font
Dim fontColor As Color
Dim value As ESRI.ArcGIS.ADF.IMS.FontInfo
value = Converter.ToIMSFontInfo(font, fontColor) |
Parameters
- font
- A System.Drawing.Font object.
- fontColor
- A System.Drawing.Color to apply to the ArcIMS FontInfo.
Return Value
An ArcIMS
FontInfo object with the equivalent properties of the input font and color.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also