[]
        
(Showing Draft Content)

C1.WPF.Word.Objects.RtfSection

RtfSection Class

The Word/RTF section.

Inheritance
RtfSection
Namespace: C1.WPF.Word.Objects
Assembly: C1.WPF.Word.4.6.2.dll
Syntax
public class RtfSection : RtfBorderObject, ICloneable, IRtfContent, IEnumerable, IDocumentContent, IContent

Constructors

Name Description
RtfSection()

Create Word/RTF section.

RtfSection(PaperKind)

Create Word/RTF section with known paper kind.

Properties

Name Description
AutoNewPage

Gets or sets automatic new page before the section.

BottomMargin

Gets or sets the bottom margin for this section.

ClientRectangle

Gets client rectangle for this document.

Columns

Gets the colunms collection of this section.

Content

Gets Word/RTF content for this section.

Count

Gets current count objects in collection.

Current

Gets current object for this section.

Gets Word/RTF footer of the page for this section.

FooterY

Gets or sets footer height for this section.

Header

Gets Word/RTF header of the page for this section.

HeaderY

Gets or sets header height for this section.

IsEmpty

Gets true if this object is empty, otherwise false.

LeftMargin

Gets or sets the left margin for this section.

PageSize

Gets or sets page size for this section.

RightMargin

Gets or sets the right margin for this section.

SectionBreak

Gets or sets break attribute for the section.

TocField

Gets RtfTocField object.

TopMargin

Gets or sets the top margin for this section.

Methods

Name Description
Add(RtfObject)

Adds the Word/RTF object to the collection.

Clear()

Removes all objects from the collection.

Contains(RtfObject)

Determines whether the object is located within the section.

GetEnumerator()

Exposes the enumerator, which supports a simple iteration over a non-generic collection.