Class PrintFile
It represents a file in the server that will be printed at the client side.
Inheritance
System.Object
PrintFile
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: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(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. |