C# Class AODL.Document.Styles.Properties.TextProperties

Represent access to the possible attributes of of an text-propertie element.
Inheritance: IProperty, IHtmlStyle
Exibir arquivo Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
GetHtmlStyle ( ) : string

Get the css style fragement

SetUnderlineStyles ( string style, string width, string color ) : void

Use to set all possible underline styles. You can use this method instead to set all necessary properties by hand.

TextProperties ( IStyle style ) : System

Create a new TextProperties object that belongs to the given TextStyle object.

Private Methods

Method Description
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

NewXmlNode ( ) : void

Create the XmlNode which represent the propertie element.

Method Details

GetHtmlStyle() public method

Get the css style fragement
public GetHtmlStyle ( ) : string
return string

SetUnderlineStyles() public method

Use to set all possible underline styles. You can use this method instead to set all necessary properties by hand.
public SetUnderlineStyles ( string style, string width, string color ) : void
style string The style. Sess enum LineStyles.
width string The width. Sess enum LineWidths.
color string The color. "font-color" or as hex #[0-9a-fA-F]{6}
return void

TextProperties() public method

Create a new TextProperties object that belongs to the given TextStyle object.
public TextProperties ( IStyle style ) : System
style IStyle The TextStyle object.
return System