Adds a new section to a document.
public bool Add(SectionBreakKind sectionBreakKind);
Public Function Add(ByVal sectionBreakKind As SectionBreakKind) As Boolean
public bool Add(SectionBreakKind sectionBreakKind, int textPosition);
Public Function Add(ByVal sectionBreakKind As SectionBreakKind, ByVal textPosition As Integer) As Boolean
Parameter | Description | ||||||
---|---|---|---|---|---|---|---|
section |
Specifies the kind of the section break. It can be one of the Section
|
||||||
text |
Specifies the text position at which the section is to be inserted. |
The return value is true, if the section could be added. Otherwise it is false.