/** * 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; }
public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings) { if (tabSettings != null) { return(tabSettings.GetTabStopNewInstance(currentPosition)); } return(TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL)); }
/** * 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; }
public static TabStop getTabStopNewInstance(float currentPosition, TabSettings tabSettings) { if (tabSettings != null) return tabSettings.GetTabStopNewInstance(currentPosition); return TabStop.NewInstance(currentPosition, DEFAULT_TAB_INTERVAL); }