Class SectionFormat
Represents the SectionFormat class.
Implements
Inherited Members
Namespace: Syncfusion.EJ.DocumentEditor
Assembly: Syncfusion.EJ.DocumentEditor.dll
Syntax
public class SectionFormat : BaseNode, ISerializable
Constructors
SectionFormat()
Initializes a new instance of the SectionFormat class.
Declaration
public SectionFormat()
Properties
BottomMargin
Gets or sets the bottom margin.
Declaration
public double BottomMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
DifferentFirstPage
Gets or sets a value indicating whether the section has different first page.
Declaration
public bool DifferentFirstPage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DifferentOddAndEvenPages
Gets or sets a value indicating whether the section has different odd and even pages.
Declaration
public bool DifferentOddAndEvenPages { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
FooterDistance
Gets or Sets the footer distance from the page bottom.
Declaration
public double FooterDistance { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
HeaderDistance
Gets or Sets the header distance from the page top.
Declaration
public double HeaderDistance { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
LeftMargin
Gets or sets the left margin.
Declaration
public double LeftMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PageHeight
Gets or sets the page height.
Declaration
public double PageHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
PageWidth
Gets or sets the page width.
Declaration
public double PageWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
RightMargin
Gets or sets the right margin.
Declaration
public double RightMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
TopMargin
Gets or sets the top margin.
Declaration
public double TopMargin { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object.
Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | The System.Runtime.Serialization.SerializationInfo to populate with data. |
System.Runtime.Serialization.StreamingContext | context | The destination (see System.Runtime.Serialization.StreamingContext) for this serialization. |
Exceptions
Type | Condition |
---|---|
System.Security.SecurityException |