cete.dynamicpdf.printing.faxoptions
FaxOptions
- Namespace: ceTe.DynamicPDF.Printing
- Assemblies: ceTe.DynamicPDF.Printing.40.x64.dll, ceTe.DynamicPDF.Printing.40.x86.dll
Represents the fax options.
public class FaxOptions
Public Class FaxOptions
Inheritance: Object → FaxOptions
Licensing
This class is a DynamicPDF PrintManager feature. The following license is required for non-evaluation usage:
- DynamicPDF PrintManager for .NET
Examples
The following examples creates a fax print job, sets fax options and sends the fax.
Imports System
Imports ceTe.DynamicPDF.Printing
Module MyModule
Sub Main()
' Create a fax print job
Dim MyFaxPrintJob As FaxPrintJob = New FaxPrintJob("FaxPrinterName", "1-555-389-4567", "C:\MyDocument.pdf")
' Set fax option values
MyFaxPrintJob.FaxOptions.RecipientName = "RecipientName"
MyFaxPrintJob.FaxOptions.SenderBillingCode = "SenderBillingCode"
MyFaxPrintJob.FaxOptions.SenderCompany = "CompanyName"
MyFaxPrintJob.FaxOptions.SenderDept = "DepartmentName"
MyFaxPrintJob.FaxOptions.SenderName = "SenderName"
' Send the fax
MyFaxPrintJob.Print()
End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;
class MyClass
{
static void Main()
{
// Create a fax print job
FaxPrintJob faxPrintJob = new FaxPrintJob("FaxPrinterName", "1-555-465-1177", @"C:\MyDocument.pdf");
// Set fax option values
faxPrintJob.FaxOptions.RecipientName = "RecipientName";
faxPrintJob.FaxOptions.SenderBillingCode = "SenderBillingCode";
faxPrintJob.FaxOptions.SenderCompany = "CompanyName";
faxPrintJob.FaxOptions.SenderDept = "DepartmentName";
faxPrintJob.FaxOptions.SenderName = "SenderName";
// Send the fax
faxPrintJob.Print();
}
}
Properties
CoverPage
Gets or sets the FaxCoverPage object that represents the cover page for the fax document.
public FaxCoverPage CoverPage { get; set; }
Public Property CoverPage As FaxCoverPage
Property Value
Remarks
If this value is null (Nothing in VB), no cover page will be added. To add a cover page, create a LocalFaxCoverPage or ServerFaxCoverPage object and set it to this property. See the appropriate classes for an example.
RecipientName
Gets or sets the name of the recipient.
public string RecipientName { get; set; }
Public Property RecipientName As String
Property Value
RecipientNumber
Gets or sets the fax number associated with the recipient.
public string RecipientNumber { get; set; }
Public Property RecipientNumber As String
Property Value
SenderBillingCode
Gets or sets the billing code associated with the sender.
public string SenderBillingCode { get; set; }
Public Property SenderBillingCode As String
Property Value
SenderCompany
Gets or sets the company name of the sender.
public string SenderCompany { get; set; }
Public Property SenderCompany As String
Property Value
SenderDept
Gets or sets the department associated with the sender.
public string SenderDept { get; set; }
Public Property SenderDept As String
Property Value
SenderName
Gets or sets the name of the sender.
public string SenderName { get; set; }
Public Property SenderName As String
Property Value
Methods
Equals(Object)
Determines whether the specified Object is equal to the current Object . (Inherited from Object)
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
The Object to compare with the current Object .
Returns
true if the specified Object is equal to the current Object ; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type. (Inherited from Object)
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Object .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .