Class PrintFileXLS
It represents a XLS file in the server that will be printed at the client side.
Inherited Members
Namespace: Neodynamic.SDK.Web
Assembly: cs.temp.dll.dll
Syntax
public class PrintFileXLS : PrintFile
Constructors
PrintFileXLS(Byte[], String)
Creates an instance of the PrintFileXLS class with the specified binary content and name.
Declaration
public PrintFileXLS(byte[] binaryContent, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the XLS file at the server side that will be printed at the client side. |
System.String | fileName | The file name that will be created at the client side. |
PrintFileXLS(Byte[], String, Int32)
Creates an instance of the PrintFileXLS class with the specified binary content, name and num of printing copies.
Declaration
public PrintFileXLS(byte[] binaryContent, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the XLS file at the server side that will be printed at the client side. |
System.String | fileName | The file name that will be created at the client side. |
System.Int32 | copies | The num of copies for printing this file. |
PrintFileXLS(String, String)
Creates an instance of the PrintFileXLS class with the specified path and name.
Declaration
public PrintFileXLS(string filePath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the XLS at the server side that will be printed at the client side. |
System.String | fileName | The file name that will be created at the client side. |
PrintFileXLS(String, String, Int32)
Creates an instance of the PrintFileXLS class with the specified path, name and num of printing copies.
Declaration
public PrintFileXLS(string filePath, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the XLS at the server side that will be printed at the client side. |
System.String | fileName | The file name that will be created at the client side. |
System.Int32 | copies | The num of copies for printing this file. |
Properties
PagesFrom
Gets or sets the number of the page at which to start printing. Default is 0 (zero) which means printing starts at the beginning.
Declaration
public int PagesFrom { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
PagesTo
Gets or sets the number of the last page to print. Default is 0 (zero) which means printing ends with the last page.
Declaration
public int PagesTo { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Password
Gets or sets the password for this XLS file.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |