C# 클래스 AODL.Document.Styles.Properties.TextProperties

Represent access to the possible attributes of of an text-propertie element.
상속: IProperty, IHtmlStyle
파일 보기 프로젝트 열기: monsterlabs/HumanRightsTracker 1 사용 예제들

공개 메소드들

메소드 설명
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