C# Class FastColoredTextBoxNS.TextStyle

Style for chars rendering This renderer can draws chars, with defined fore and back colors
Inheritance: Style
显示文件 Open project: samarjeet27/ynoteclassic Class Usage Examples

Public Properties

Property Type Description
stringFormat System.Drawing.StringFormat

Public Methods

Method Description
Dispose ( ) : void
Draw ( Graphics gr, Point position, Range range ) : void
GetCSS ( ) : string
GetRTF ( ) : RTFStyleDescriptor
TextStyle ( Brush foreBrush, Brush backgroundBrush, FontStyle fontStyle ) : System

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Draw() public method

public Draw ( Graphics gr, Point position, Range range ) : void
gr System.Drawing.Graphics
position Point
range Range
return void

GetCSS() public method

public GetCSS ( ) : string
return string

GetRTF() public method

public GetRTF ( ) : RTFStyleDescriptor
return RTFStyleDescriptor

TextStyle() public method

public TextStyle ( Brush foreBrush, Brush backgroundBrush, FontStyle fontStyle ) : System
foreBrush System.Drawing.Brush
backgroundBrush System.Drawing.Brush
fontStyle FontStyle
return System

Property Details

stringFormat public_oe property

public StringFormat,System.Drawing stringFormat
return System.Drawing.StringFormat