/// <summary>
 /// Initializes a new instance of <see cref="InlineElement"/> class.
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="attributes"></param>
 /// <param name="innerText"></param>
 protected InlineElement(DomElement parent, InlineElementAttributes attributes, String innerText) :
     base(parent)
 {
     this.attributes = attributes;
     this.innerText  = innerText;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of <see cref="TextBlock"/> class.
 /// </summary>
 /// <param name="parent"></param>
 /// <param name="attributes"></param>
 /// <param name="innerText"></param>
 /// <param name="formatting"></param>
 public TextBlock(DomElement parent, InlineElementAttributes attributes,
                  string innerText, TextBlockFormatting formatting) :
     base(parent, attributes, innerText)
 {
     this.formatting = formatting;
 }