public void AddImage( string filePath = null, BaseColor background = null, BaseColor foreground = null, SvnBorder border = null) { this.Content = new SvnImage(this, filePath, background, foreground, border); }
internal SvnImage(SvnCell parent, string filePath, BaseColor background, BaseColor foreground, SvnBorder border) { base.Parent = parent; base.Background = background; base.Foreground = foreground; base.Border = border; this.FilePath = filePath; }
internal SvnCol(SvnCell parent, float relativeWidth, BaseColor background, BaseColor foreground, SvnBorder border) { base.Parent = parent; base.AbsoluteWidth = () => base.Parent.AbsoluteWidth() * base.RelativeWidth / 100; base.RelativeWidth = relativeWidth; base.Background = background; base.Foreground = foreground; base.Border = border; }
internal SvnRow(SvnCell parent, float relativeHeight, BaseColor background, BaseColor foreground, SvnBorder border) { base.Parent = parent; base.AbsoluteHeight = () => base.Parent.AbsoluteHeight() * base.RelativeHeight / 100; base.RelativeHeight = relativeHeight; base.Background = background; base.Foreground = foreground; base.Border = border; }
public SvnTable(SvnCell parent, float absoluteWidth, float absoluteHeight, BaseColor background, BaseColor foreground, SvnBorder border) { base.Parent = parent; base.AbsoluteWidth = () => absoluteWidth; base.AbsoluteHeight = () => absoluteHeight; base.Background = background; base.Foreground = foreground; base.Border = border; }
public void AddText( string text = "", float size = 10, VAlign vAlign = VAlign.Top, HAlign hAlign = HAlign.Left, BaseColor background = null, BaseColor foreground = null, SvnBorder border = null) { this.Content = new SvnText(this, text, size, vAlign, hAlign, background, foreground, border); }
public void AddTable( BaseColor background = null, BaseColor foreground = null, SvnBorder border = null, Action <SvnTable> delegator = null) { var table = new SvnTable(this, base.AbsoluteWidth(), base.AbsoluteHeight(), background, foreground, border); this.Content = table; delegator?.Invoke(table); }