Class SpreadsheetPrintOptionsBuilder<T>
Specifies the class for PrintOption which includes pagesetup, pagesize and printing properties.
Inheritance
System.Object
SpreadsheetPrintOptionsBuilder<T>
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 SpreadsheetPrintOptionsBuilder<T>
where T : class
Type Parameters
Name | Description |
---|---|
T |
Constructors
SpreadsheetPrintOptionsBuilder(SpreadsheetPrintSettings)
Initializes a new instance of the SpreadsheetPrintOptionsBuilder<T> with the specified print settings.
Declaration
public SpreadsheetPrintOptionsBuilder(SpreadsheetPrintSettings print)
Parameters
Type | Name | Description |
---|---|---|
SpreadsheetPrintSettings | The print settings. |
Methods
AllowPageSetup()
Specifies to enable page setup.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPageSetup()
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |
AllowPageSetup(Boolean)
Specifies to indicate whether the page setup is enable or not.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPageSetup(bool allowPageSetup)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowPageSetup | true if the pagesetup is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |
AllowPageSize()
Specifies to enable allowPageSize.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPageSize()
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |
AllowPageSize(Boolean)
Specifies to indicate whether the allowPageSize is enable or not.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPageSize(bool allowPageSize)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowPageSize | true if the pageSize is enabled; otherwise, false. |
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |
AllowPrinting()
Specifies to enable AllowPrinting.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPrinting()
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |
AllowPrinting(Boolean)
Specifies to indicate whether the printing is enable or not.
Declaration
public SpreadsheetPrintOptionsBuilder<T> AllowPrinting(bool allowPrinting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowPrinting |
Returns
Type | Description |
---|---|
SpreadsheetPrintOptionsBuilder<T> |