Class PageSettingsBuilder
Class for PageSettingsBuilder.
Inheritance
System.Object
PageSettingsBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class PageSettingsBuilder
Constructors
PageSettingsBuilder(PageSettings)
Initializes a new instance of the PageSettingsBuilder class.
Declaration
public PageSettingsBuilder(PageSettings pageSettings)
Parameters
Type | Name | Description |
---|---|---|
PageSettings | pageSettings |
Methods
Height(Double)
Specifies the paper height of print layout.
Declaration
public PageSettingsBuilder Height(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The paper height value. |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |
Margins(Margins)
Specifies the paper margins of print layout.
Declaration
public PageSettingsBuilder Margins(Margins margin)
Parameters
Type | Name | Description |
---|---|---|
Margins | margin |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |
Margins(Action<PageMarginsBuilder>)
Specifies the page margins.
Declaration
public PageSettingsBuilder Margins(Action<PageMarginsBuilder> pageMarginsBuilder)
Parameters
Type | Name | Description |
---|---|---|
System.Action<PageMarginsBuilder> | pageMarginsBuilder | The page margin value. |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |
Orientation(Orientation)
Specifies the print layout orientation.
Declaration
public PageSettingsBuilder Orientation(Orientation value)
Parameters
Type | Name | Description |
---|---|---|
Orientation | value | The paper orientation value. |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |
PaperSize(PaperSize)
Specifies the paper size of print layout.
Declaration
public PageSettingsBuilder PaperSize(PaperSize value)
Parameters
Type | Name | Description |
---|---|---|
PaperSize | value | The paper size value. |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |
Width(Double)
Specifies the paper width of print layout.
Declaration
public PageSettingsBuilder Width(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The paper width value. |
Returns
Type | Description |
---|---|
PageSettingsBuilder | PageSettingsBuilder. |