Class Section
Represents a document section
Inheritance
System.Object
Section
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DLS
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class Section : TextBody, IXDLSSerializable, ISection, ITextBody, IEntityBase, IWidgetContainer, IWidget
Constructors
Section(IDocument)
Default constructor
Declaration
public Section(IDocument doc)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocument | doc |
Section(ISection, IDocument)
Declaration
protected Section(ISection section, IDocument doc)
Parameters
| Type | Name | Description |
|---|---|---|
| ISection | section | |
| IDocument | doc |
Fields
m_pageSetup
The section page Setup.
Declaration
protected PageSetup m_pageSetup
Field Value
| Type |
|---|
| PageSetup |
Properties
BreakCode
Gets / sets break code.
Declaration
public SectionBreakCode BreakCode { get; set; }
Property Value
| Type |
|---|
| SectionBreakCode |
Columns
Get collection of columns which logically divide page on many. printing/publishing areas
Declaration
public ColumnCollection Columns { get; }
Property Value
| Type |
|---|
| ColumnCollection |
HeadersFooters
Gets headers/footers of current section.
Declaration
public HeadersFooters HeadersFooters { get; }
Property Value
| Type |
|---|
| HeadersFooters |
PageSetup
Gets page Setup of current section.
Declaration
public PageSetup PageSetup { get; }
Property Value
| Type |
|---|
| PageSetup |
Methods
AddColumn(Single, Single)
Adds new column to the section.
Declaration
public Column AddColumn(float width, float spacing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | width | |
| System.Single | spacing |
Returns
| Type |
|---|
| Column |
Clone(IDocument)
Clones section and sets new owner document.
Declaration
public ISection Clone(IDocument document)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocument | document | New owner document |
Returns
| Type |
|---|
| ISection |
CloneImpl(IDocument)
Declaration
protected virtual ISection CloneImpl(IDocument document)
Parameters
| Type | Name | Description |
|---|---|---|
| IDocument | document |
Returns
| Type |
|---|
| ISection |
CreateLayoutInfo()
Declaration
protected override void CreateLayoutInfo()
Overrides
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()
Overrides
MakeColumnsEqual()
Makes all columns in current section to be of equal width.
Declaration
public void MakeColumnsEqual()
ReadXmlAttributes(IXDLSAttributeReader)
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
| Type | Name | Description |
|---|---|---|
| IXDLSAttributeReader | reader |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
| Type | Name | Description |
|---|---|---|
| IXDLSAttributeWriter | writer |