Class PrintFileDOC
It represents a DOC 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 PrintFileDOC : PrintFile
Constructors
PrintFileDOC(Byte[], String)
Creates an instance of the PrintFileDOC class with the specified binary content and name.
Declaration
public PrintFileDOC(byte[] binaryContent, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the DOC 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. |
PrintFileDOC(Byte[], String, Int32)
Creates an instance of the PrintFileDOC class with the specified binary content, name and num of printing copies.
Declaration
public PrintFileDOC(byte[] binaryContent, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the DOC 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. |
PrintFileDOC(String, String)
Creates an instance of the PrintFileDOC class with the specified path and name.
Declaration
public PrintFileDOC(string filePath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the DOC 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. |
PrintFileDOC(String, String, Int32)
Creates an instance of the PrintFileDOC class with the specified path, name and num of printing copies.
Declaration
public PrintFileDOC(string filePath, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the DOC 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
DuplexPrinting
Gets or sets whether to perform manual duplex printing. Default is False.
Declaration
public bool DuplexPrinting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
Manual duplex lets you print on both sides of a sheet by ordering the print job so that after the first half of the print job has been printed, the job can be flipped over for the second side printing.
DuplexPrintingDialogMessage
Gets or sets the dialog message to prompt to the user to flip pages after first half of print job has been printed. Default is an empty string.
Declaration
public string DuplexPrintingDialogMessage { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PagesRange
Gets or sets a subset of pages to print. It can be individual page numbers, a range, or a combination. For example: 1, 5-10, 25, 50. Default is an empty string which means print all pages.
Declaration
public string PagesRange { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Password
Gets or sets the password for this DOC file.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PrintInReverseOrder
Gets or sets whether pages are printed in reverse order. Default is False.
Declaration
public bool PrintInReverseOrder { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |