Esempio n. 1
0
 protected override void InitializeFields()
 {
     base.InitializeFields();
     this.StretchHorizontally = false;
     this.StretchVertically   = false;
     this.textPrimitiveImpl   = (ITextPrimitive) new TextPrimitiveImpl();
 }
Esempio n. 2
0
 public void ToggleHTML(string text)
 {
     this.useHTMLRendering = TinyHTMLParsers.IsHTMLMode(text);
     if (!this.DisableHTMLRendering)
     {
         this.textPrimitiveImpl = TextPrimitiveFactory.CreateTextPrimitiveImp(TinyHTMLParsers.IsHTMLMode(text));
     }
 }