[]
Base class for the hierarchy of layout elements.
public abstract class LayoutElement
Gets the owner Page object.
public Page Page { get; }
Gets the element's rectangle.
public LayoutRect Rect { get; }
Shows a color rectangle for the current LayoutElement (for debugging purposes).
public void ShowDebugRect(Color color, bool drawBorders = false)
color
System.Drawing.ColorThe color of the new rectangle.
drawBorders
boolIndicates if the rectangle should only draw its borders, not background.