public double GetLineHeight (int line) { if (Parent == null) return LineHeight; return Parent.GetLineHeight (line); }