C# Класс AODL.Document.Styles.Properties.TextProperties

Represent access to the possible attributes of of an text-propertie element.
Наследование: IProperty, IHtmlStyle
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
CreateAttribute ( string name, string text, string prefix ) : void

Create a XmlAttribute for propertie XmlNode.

NewXmlNode ( ) : void

Create the XmlNode which represent the propertie element.

Описание методов

GetHtmlStyle() публичный Метод

Get the css style fragement
public GetHtmlStyle ( ) : string
Результат string

SetUnderlineStyles() публичный Метод

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}
Результат void

TextProperties() публичный Метод

Create a new TextProperties object that belongs to the given TextStyle object.
public TextProperties ( IStyle style ) : System
style IStyle The TextStyle object.
Результат System