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

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

Get the css style fragement
public GetHtmlStyle ( ) : string
Résultat string

SetUnderlineStyles() public méthode

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}
Résultat void

TextProperties() public méthode

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