ESRI.ArcGIS.ADF.Web.DataSources.IMS
ToIMSFontInfo(Font,Color) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > Converter Class > ToIMSFontInfo Method : ToIMSFontInfo(Font,Color) Method




font
A System.Drawing.Font object.
fontColor
A System.Drawing.Color to apply to the ArcIMS FontInfo.
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 FontInfo
Visual Basic (Usage)Copy Code
Dim font As Font
Dim fontColor As Color
Dim value As FontInfo
 
value = Converter.ToIMSFontInfo(font, fontColor)
C# 
public static FontInfo ToIMSFontInfo( 
   Font font,
   Color 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.

See Also

© 2010 All Rights Reserved.