FaxOptions
Represents the fax options.
public class FaxOptions
Public Class FaxOptions
Inheritance: ObjectFaxOptions
Licensing Info
This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
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. |
RecipientName | Gets or sets the name of the recipient. |
RecipientNumber | Gets or sets the fax number associated with the recipient. |
SenderBillingCode | Gets or sets the billing code associated with the sender. |
SenderCompany | Gets or sets the company name of the sender. |
SenderDept | Gets or sets the department associated with the sender. |
SenderName | Gets or sets the name of the sender. |
Methods
Equals(Object) | Determines whether the specified Object is equal to the current Object . (Inherited from Object) |
GetHashCode() | Serves as a hash function for a particular type. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
ToString() | Returns a String that represents the current Object . (Inherited from Object) |