TextSurface Constructor (Color, String, Single, FontStyle, GraphicsUnit) |
Creates a new class instance
Namespace: Kettic.AspNet.Controls.ChartModel.StylesAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic TextSurface(
Color color,
string familyName,
float emSize,
FontStyle fontStyle,
GraphicsUnit grUnit
)
Public Sub New (
color As Color,
familyName As String,
emSize As Single,
fontStyle As FontStyle,
grUnit As GraphicsUnit
)
public:
TextSurface(
Color color,
String^ familyName,
float emSize,
FontStyle fontStyle,
GraphicsUnit grUnit
)
new :
color : Color *
familyName : string *
emSize : float32 *
fontStyle : FontStyle *
grUnit : GraphicsUnit -> TextSurface
Parameters
- color
- Type: System.DrawingColor
Text color - familyName
- Type: SystemString
Font family - emSize
- Type: SystemSingle
Font size in EM - fontStyle
- Type: System.DrawingFontStyle
Font style - grUnit
- Type: System.DrawingGraphicsUnit
Graphics measurement unit
See Also