示例#1
0
 /**
  * Copy constructor for <CODE>Phrase</CODE>.
  */
 public Phrase(Phrase phrase) : base()
 {
     this.AddAll(phrase);
     SetLeading(phrase.Leading, phrase.MultipliedLeading);
     font        = phrase.Font;
     tabSettings = phrase.TabSettings;
     hyphenation = phrase.hyphenation;
 }
示例#2
0
 public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings)
 {
     if (tabSettings != null)
     {
         return(tabSettings.GetTabStopNewInstance(currentPosition));
     }
     return(TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL));
 }
示例#3
0
 /**
  * Copy constructor for <CODE>Phrase</CODE>.
  */
 public Phrase(Phrase phrase) : base()
 {
     this.AddAll(phrase);
     leading     = phrase.Leading;
     font        = phrase.Font;
     tabSettings = phrase.TabSettings;
     hyphenation = phrase.hyphenation;
 }
示例#4
0
 public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings)
 {
     if (tabSettings != null)
         return tabSettings.GetTabStopNewInstance(currentPosition);
     return TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL);
 }