[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Layout.LayoutElement

Class LayoutElement

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

Base class for the hierarchy of layout elements.

public abstract class LayoutElement
Inheritance
object
LayoutElement
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

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

GrapeCity.Documents.Layout.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 System.Drawing.Color

The color of the new rectangle.

drawBorders bool

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