Show / Hide Table of Contents

Class PrintFile

It represents a file in the server that will be printed at the client side.

Inheritance
System.Object
PrintFile
PrintFileDOC
PrintFilePDF
PrintFileTIF
PrintFileTXT
PrintFileXLS
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(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.

Fields

FileIsPasswordProtected

Declaration
protected bool FileIsPasswordProtected
Field Value
Type Description
System.Boolean

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

DeleteAfterPrinting

Gets or sets whether to delete this file from the client device after printing it. Default is true.

Declaration
public bool DeleteAfterPrinting { get; set; }
Property Value
Type Description
System.Boolean

EncryptMetadata

Gets or sets the Encryption Metadata.

Declaration
public EncryptMetadata EncryptMetadata { get; set; }
Property Value
Type Description
EncryptMetadata
Back to top Copyright © 2003- Neodynamic SRL
http://www.neodynamic.com