C# Class AODL.Document.Styles.MasterStyles.TextPageLayout

Summary for TextPageLayout.
Show file Open project: monsterlabs/HumanRightsTracker Class Usage Examples

Public Methods

Method Description
GetContentWidth ( ) : double

Gets the width of the content.

Will return 0 if the width couldn't be calculated.

GetLayoutMeasurement ( ) : bool

Gets the layout measurement.

TextPageLayout ( ) : System

Initializes a new instance of the TextPageLayout class.

TextPageLayout ( TextDocument ownerDocument, XmlNode styleNode, XmlNode propertyNode ) : System

Initializes a new instance of the TextPageLayout class.

Private Methods

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

Create a XmlAttribute for propertie XmlNode.

Method Details

GetContentWidth() public method

Gets the width of the content.
Will return 0 if the width couldn't be calculated.
public GetContentWidth ( ) : double
return double

GetLayoutMeasurement() public method

Gets the layout measurement.
public GetLayoutMeasurement ( ) : bool
return bool

TextPageLayout() public method

Initializes a new instance of the TextPageLayout class.
public TextPageLayout ( ) : System
return System

TextPageLayout() public method

Initializes a new instance of the TextPageLayout class.
public TextPageLayout ( TextDocument ownerDocument, XmlNode styleNode, XmlNode propertyNode ) : System
ownerDocument AODL.Document.TextDocuments.TextDocument The owner document.
styleNode System.Xml.XmlNode The style node.
propertyNode System.Xml.XmlNode The property node.
return System