Class PrintFileTIF
It represents a TIF 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 PrintFileTIF : PrintFile
Constructors
PrintFileTIF(Byte[], String)
Creates an instance of the PrintFileTIF class with the specified binary content and name.
Declaration
public PrintFileTIF(byte[] binaryContent, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the TIF 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. |
PrintFileTIF(Byte[], String, Int32)
Creates an instance of the PrintFileTIF class with the specified binary content, name and num of printing copies.
Declaration
public PrintFileTIF(byte[] binaryContent, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | binaryContent | The binary content of the TIF 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. |
PrintFileTIF(String, String)
Creates an instance of the PrintFileTIF class with the specified path and name.
Declaration
public PrintFileTIF(string filePath, string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the TIF 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. |
PrintFileTIF(String, String, Int32)
Creates an instance of the PrintFileTIF class with the specified path, name and num of printing copies.
Declaration
public PrintFileTIF(string filePath, string fileName, int copies)
Parameters
Type | Name | Description |
---|---|---|
System.String | filePath | The path of the TIF 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
AutoCenter
Gets or sets whether to center the content. Default is False.
Declaration
public bool AutoCenter { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
AutoRotate
Gets or sets whether to automatically select the print orientation (Portrait or Landscape) that best matches the content. Default is False.
Declaration
public bool AutoRotate { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
PrintAsGrayscale
Gets or sets whether to print the TIF document with color images, texts, or other objects as shades of gray. Default is False.
Declaration
public bool PrintAsGrayscale { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
PrintRotation
Gets or sets the print rotation. Default is None.
Declaration
public PrintRotation PrintRotation { get; set; }
Property Value
Type | Description |
---|---|
PrintRotation |
Sizing
Gets or sets the print sizing option. Default is Fit.
Declaration
public Sizing Sizing { get; set; }
Property Value
Type | Description |
---|---|
Sizing |