ESRI.ArcGIS.ADF.IMS
FontInfo Constructor(String,Int32,Color,FontStyle)
See Also 
ESRI.ArcGIS.ADF.IMS Namespace > FontInfo Class > FontInfo Constructor : FontInfo Constructor(String,Int32,Color,FontStyle)




Name
Name of the font.
Size
Size to display font characters, in points.
Color
Color of the font characters.
Style
Style for the font, such as Regular or Bold.
Constructs a FontInfo object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal Name As String, _
   ByVal Size As Integer, _
   ByVal Color As Color, _
   ByVal Style As FontStyle _
)
Visual Basic (Usage)Copy Code
Dim Name As String
Dim Size As Integer
Dim Color As Color
Dim Style As FontStyle
 
Dim instance As FontInfo(Name, Size, Color, Style)
C# 
public FontInfo( 
   string Name,
   int Size,
   Color Color,
   FontStyle Style
)

Parameters

Name
Name of the font.
Size
Size to display font characters, in points.
Color
Color of the font characters.
Style
Style for the font, such as Regular or Bold.

Example

For an example, see TextSymbol .

Remarks

The font set in the Name property must be installed the ArcIMS Spatial Server machine. If multiple machines host Spatial Servers, then each must have the font installed. Client browser machines do not need the font to be installed locally.

See Also

© 2010 All Rights Reserved.