Class HeadersFooters
Represents page headers and footers
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 HeadersFooters : XDLSSerializableBase, IEntityBase, IXDLSSerializable
Constructors
HeadersFooters(IDocument)
Creates HeadersFooters object for specified document.
Declaration
public HeadersFooters(IDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc |
Properties
EvenFooter
Gets even footer
Declaration
public TextBody EvenFooter { get; }
Property Value
Type |
---|
TextBody |
EvenHeader
Gets even header.
Declaration
public TextBody EvenHeader { get; }
Property Value
Type |
---|
TextBody |
FirstPageFooter
Gets first page footer.
Declaration
public TextBody FirstPageFooter { get; }
Property Value
Type |
---|
TextBody |
FirstPageHeader
Gets first page header.
Declaration
public TextBody FirstPageHeader { get; }
Property Value
Type |
---|
TextBody |
Footer
Gets default footer.
Declaration
public TextBody Footer { get; }
Property Value
Type |
---|
TextBody |
Header
Gets default header.
Declaration
public TextBody Header { get; }
Property Value
Type |
---|
TextBody |
IsEmpty
Detects whether all headers/footers are empty.
Declaration
public bool IsEmpty { get; }
Property Value
Type |
---|
System.Boolean |
Item[HeaderFooterType]
Gets TextBody by specified HeaderFooter type.
Declaration
public TextBody this[HeaderFooterType hfType] { get; }
Parameters
Type | Name | Description |
---|---|---|
HeaderFooterType | hfType |
Property Value
Type |
---|
TextBody |
Item[Int32]
Gets TextBody at specified index.
Declaration
public TextBody this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
TextBody |
OddFooter
Gets odd footer ( This is also the default footer ).
Declaration
public TextBody OddFooter { get; }
Property Value
Type |
---|
TextBody |
OddHeader
Gets odd header ( This is also the default header ).
Declaration
public TextBody OddHeader { get; }
Property Value
Type |
---|
TextBody |
Methods
InitXDLSHolder()
Declaration
protected override void InitXDLSHolder()