[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Layout.LayoutElement

Class LayoutElement

Namespace
GrapeCity.Documents.Word.Layout
Assembly
GcDocs.Word.dll

Base class for the hierarchy of layout elements.

public abstract class LayoutElement
Inheritance
LayoutElement
Derived
Inherited Members

Properties

Page

Gets the owner Page object.

public Page Page { get; }

Property Value

Page

Rect

Gets the element's rectangle.

public LayoutRect Rect { get; }

Property Value

LayoutRect

Methods

ShowDebugRect(Color, bool)

Shows a color rectangle for the current LayoutElement (for debugging purposes).

public void ShowDebugRect(Color color, bool drawBorders = false)

Parameters

color Color

The color of the new rectangle.

drawBorders bool

Indicates if the rectangle should only draw its borders, not background.