Class PrintFile
It represents a file in the server that will be printed at the client side.
Inheritance
Inherited Members
Namespace:Neodynamic.SDK.Web
Assembly:cs.temp.dll.dll
Syntax
public class PrintFile
Constructors
PrintFile(Byte[], String)
Creates an instance of the PrintFile class with the specified binary content and name.
Declaration
public PrintFile(byte[] binaryContent, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the 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. It must include the file extension like .pdf, .txt, .doc, .xls, etc. |
PrintFile(Byte[], String, Int32)
Creates an instance of the PrintFile class with the specified binary content, name and num of printing copies.
Declaration
public PrintFile(byte[] binaryContent, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the 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. It must include the file extension like .pdf, .txt, .doc, .xls, etc. |
System.Int32 | copies | The num of copies for printing this file. |
PrintFile(String, String)
Creates an instance of the PrintFile class with the specified path and name.
Declaration
public PrintFile(string filePath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the 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. It must include the file extension like .pdf, .txt, .doc, .xls, etc. |
PrintFile(String, String, Int32)
Creates an instance of the PrintFile class with the specified path, name and num of printing copies.
Declaration
public PrintFile(string filePath, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the 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. It must include the file extension like .pdf, .txt, .doc, .xls, etc. |
System.Int32 | copies | The num of copies for printing this file. |
Properties
Copies
Gets or sets the num of copies for printing this file. Default is 1.
Declaration
public int Copies { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |