public override string Dump(int indentLevel) { StringBuilder sb = new StringBuilder(); sb.Append(Document.Space(indentLevel)); sb.Append("Image "); sb.Append(_imageName); sb.Append(" "); sb.Append(_rect); sb.Append("\r\n"); return(sb.ToString()); }
public string Dump(int indentLevel) { StringBuilder sb = new StringBuilder(); sb.Append(Document.Space(indentLevel)); sb.Append("Image size="); sb.Append(_size.Width); sb.Append("x"); sb.Append(_size.Height); sb.Append(" pos="); sb.Append(_position.Specification); sb.Append("\r\n"); return(sb.ToString()); }
public override string Dump(int indentLevel) { StringBuilder sb = new StringBuilder(); sb.Append(Document.Space(indentLevel)); sb.Append("Path start="); sb.Append(_vertices[0].X); sb.Append(","); sb.Append(_vertices[0].Y); sb.Append(" end="); sb.Append(_vertices[_vertices.Count - 1].X); sb.Append(","); sb.Append(_vertices[_vertices.Count - 1].Y); sb.Append("\r\n"); return(sb.ToString()); }
internal string Dump(int indentLevel) { StringBuilder sb = new StringBuilder(); sb.Append(Document.Space(indentLevel)); sb.Append("Page\r\n"); foreach (ContentFragment fragment in _content) { sb.Append(fragment.Dump(indentLevel + 1)); } foreach (Image image in _images) { sb.Append(image.Dump(indentLevel + 1)); } return(sb.ToString()); }
public override string Dump(int indentLevel) { StringBuilder sb = new StringBuilder(); sb.Append(Document.Space(indentLevel)); sb.Append("Text font="); sb.Append(_font.Alias); sb.Append(" "); sb.Append(_fontSize); sb.Append("pt pos="); sb.Append(_x); sb.Append(","); sb.Append(_y); sb.Append(" "); string preview = _text.Length < 40 ? _text : _text.Substring(0, 40); sb.Append(preview); sb.Append("\r\n"); return(sb.ToString()); }