Esempio n. 1
0
 internal void Compile(IEnumerator<HtmlChunk> source, int width, string id = null, HtFont font = null, HtColor color = default(HtColor), TextAlign align = TextAlign.Left, VertAlign valign = VertAlign.Bottom)
 {
     this.d.Clear();
     this.CompiledWidth = width;
     this.d.Parse(source, width, id, font, color, align, valign);
     this.MergeSameTextChunks();
     this.UpdateHeight();
     //this.UpdateWidth();
 }
Esempio n. 2
0
 internal void Compile(IEnumerator <HtmlChunk> source, int width, string id = null, HtFont font = null, HtColor color = default(HtColor), TextAlign align = TextAlign.Left, VertAlign valign = VertAlign.Bottom)
 {
     this.d.Clear();
     this.CompiledWidth = width;
     this.d.Parse(source, width, id, font, color, align, valign);
     this.MergeSameTextChunks();
     this.UpdateHeight();
 }