Click or drag to resize

Block Class

Represents a base class for all block elements - Paragraph, Table and TableOfEntries.
Inheritance Hierarchy

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version:
public abstract class Block : Element

The Block type exposes the following members.

Public propertyContent
Gets the content of the current Element.
(Inherited from Element.)
Public propertyDocument
Gets the owner document.
(Inherited from Element.)
Public propertyElementType
Gets the ElementType of this Element instance.
(Inherited from Element.)
Public propertyParent
Gets the parent of this Element instance.
(Inherited from Element.)
Public propertyParentCollection
Gets the BlockCollection that contains this Block instance.

Block elements take the entire width of a document. No other document element can be contained in the same line with a block element.

Block elements, especially Paragraphs, are starting building blocks for Section, HeaderFooter, TableCell and TableOfEntries content.

For more information, see GemBox.Document Content Model.

See Also