cete.dynamicpdf.printing.faxcoverpage
FaxCoverPage
- Namespace: ceTe.DynamicPDF.Printing
- Assemblies: ceTe.DynamicPDF.Printing.40.x64.dll, ceTe.DynamicPDF.Printing.40.x86.dll
Represents a cover page for the fax.
public abstract class FaxCoverPage
Public MustInherit Class FaxCoverPage
Inheritance: Object → FaxCoverPage
Derived: LocalCoverPage, ServerCoverPage
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 the cover page values 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-465-1177", "C:\MyDocument.pdf")
' Add a local cover page
MyFaxPrintJob.FaxOptions.CoverPage = New LocalCoverPage("C:\Custom.cov")
' Set the cover page values
MyFaxPrintJob.FaxOptions.CoverPage.Note = "Note"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientCity = "RecipientCity"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientCompany = "RecipientCompany"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientCountry = "RecipientCountry"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientDepartment = "RecipientDepartment"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientFaxNumber = "RecipientFaxNumber"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientHomePhone = "RecipientHomePhone"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientName = "RecipientName"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientOfficeLocation = "RecipientOfficeLocation"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientOfficePhone = "RecipientOfficePhone"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientState = "RecipientState"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientStreetAddress = "RecipientStreetAddress"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientTitle = "RecipientTitle"
MyFaxPrintJob.FaxOptions.CoverPage.RecipientZip = "RecipientZip"
MyFaxPrintJob.FaxOptions.CoverPage.SenderAddress = "SenderAddress"
MyFaxPrintJob.FaxOptions.CoverPage.SenderCompany = "SenderCompany"
MyFaxPrintJob.FaxOptions.CoverPage.SenderDepartment = "SenderDepartment"
MyFaxPrintJob.FaxOptions.CoverPage.SenderFaxNumber = "SenderFaxNumber"
MyFaxPrintJob.FaxOptions.CoverPage.SenderHomePhone = "SenderHomePhone"
MyFaxPrintJob.FaxOptions.CoverPage.SenderName = "SenderName"
MyFaxPrintJob.FaxOptions.CoverPage.SenderOfficeLocation = "SenderOfficeLocation"
MyFaxPrintJob.FaxOptions.CoverPage.SenderOfficePhone = "SenderOfficePhone"
MyFaxPrintJob.FaxOptions.CoverPage.SenderTitle = "SenderTitle"
MyFaxPrintJob.FaxOptions.CoverPage.Subject = "Subject"
' 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");
// Add a local cover page
faxPrintJob.FaxOptions.CoverPage = new LocalCoverPage(@"Custom.cov");
// Set the cover page values
faxPrintJob.FaxOptions.CoverPage.Note = "Note";
faxPrintJob.FaxOptions.CoverPage.RecipientCity = "RecipientCity";
faxPrintJob.FaxOptions.CoverPage.RecipientCompany = "RecipientCompany";
faxPrintJob.FaxOptions.CoverPage.RecipientCountry = "RecipientCountry";
faxPrintJob.FaxOptions.CoverPage.RecipientDepartment = "RecipientDepartment";
faxPrintJob.FaxOptions.CoverPage.RecipientFaxNumber = "RecipientFaxNumber";
faxPrintJob.FaxOptions.CoverPage.RecipientHomePhone = "RecipientHomePhone";
faxPrintJob.FaxOptions.CoverPage.RecipientName = "RecipientName";
faxPrintJob.FaxOptions.CoverPage.RecipientOfficeLocation = "RecipientOfficeLocation";
faxPrintJob.FaxOptions.CoverPage.RecipientOfficePhone = "RecipientOfficePhone";
faxPrintJob.FaxOptions.CoverPage.RecipientState = "RecipientState";
faxPrintJob.FaxOptions.CoverPage.RecipientStreetAddress = "RecipientStreetAddress";
faxPrintJob.FaxOptions.CoverPage.RecipientTitle = "RecipientTitle";
faxPrintJob.FaxOptions.CoverPage.RecipientZip = "RecipientZip";
faxPrintJob.FaxOptions.CoverPage.SenderAddress = "SenderAddress";
faxPrintJob.FaxOptions.CoverPage.SenderCompany = "SenderCompany";
faxPrintJob.FaxOptions.CoverPage.SenderDepartment = "SenderDepartment";
faxPrintJob.FaxOptions.CoverPage.SenderFaxNumber = "SenderFaxNumber";
faxPrintJob.FaxOptions.CoverPage.SenderHomePhone = "SenderHomePhone";
faxPrintJob.FaxOptions.CoverPage.SenderName = "SenderName";
faxPrintJob.FaxOptions.CoverPage.SenderOfficeLocation = "SenderOfficeLocation";
faxPrintJob.FaxOptions.CoverPage.SenderOfficePhone = "SenderOfficePhone";
faxPrintJob.FaxOptions.CoverPage.SenderTitle = "SenderTitle";
faxPrintJob.FaxOptions.CoverPage.Subject = "Subject";
// Send the fax
faxPrintJob.Print();
}
}
Properties
Note
Gets or sets the content of the note field.
public string Note { get; set; }
Public Property Note As String
Property Value
RecipientCity
Gets or sets the city of the recipient.
public string RecipientCity { get; set; }
Public Property RecipientCity As String
Property Value
RecipientCompany
Gets or sets the company name associated with the recipient.
public string RecipientCompany { get; set; }
Public Property RecipientCompany As String
Property Value
RecipientCountry
Gets or sets the country of the recipient.
public string RecipientCountry { get; set; }
Public Property RecipientCountry As String
Property Value
RecipientDepartment
Gets or sets the department associated with the recipient.
public string RecipientDepartment { get; set; }
Public Property RecipientDepartment As String
Property Value
RecipientFaxNumber
Gets or sets the fax number associated with the recipient.
public string RecipientFaxNumber { get; set; }
Public Property RecipientFaxNumber As String
Property Value
RecipientHomePhone
Gets or sets the home phone number associated with the recipient.
public string RecipientHomePhone { get; set; }
Public Property RecipientHomePhone As String
Property Value
RecipientName
Gets or sets the name of the recipient.
public string RecipientName { get; set; }
Public Property RecipientName As String
Property Value
RecipientOfficeLocation
Gets or sets the office location of the recipient.
public string RecipientOfficeLocation { get; set; }
Public Property RecipientOfficeLocation As String
Property Value
RecipientOfficePhone
Gets or sets the office phone number associated with the recipient.
public string RecipientOfficePhone { get; set; }
Public Property RecipientOfficePhone As String
Property Value
RecipientState
Gets or sets the state of the recipient.
public string RecipientState { get; set; }
Public Property RecipientState As String
Property Value
RecipientStreetAddress
Gets or sets the street address of the recipient.
public string RecipientStreetAddress { get; set; }
Public Property RecipientStreetAddress As String
Property Value
RecipientTitle
Gets or sets the title associated with the recipient.
public string RecipientTitle { get; set; }
Public Property RecipientTitle As String
Property Value
RecipientZip
Gets or sets the zip code of the recipient.
public string RecipientZip { get; set; }
Public Property RecipientZip As String
Property Value
SenderAddress
Gets or sets the address of the sender.
public string SenderAddress { get; set; }
Public Property SenderAddress As String
Property Value
SenderCompany
Gets or sets the company name associated with the sender.
public string SenderCompany { get; set; }
Public Property SenderCompany As String
Property Value
SenderDepartment
Gets or sets the department name associated with the sender.
public string SenderDepartment { get; set; }
Public Property SenderDepartment As String
Property Value
SenderFaxNumber
Gets or sets the fax number associated with the sender.
public string SenderFaxNumber { get; set; }
Public Property SenderFaxNumber As String
Property Value
SenderHomePhone
Gets or sets the home phone number associated with the sender.
public string SenderHomePhone { get; set; }
Public Property SenderHomePhone As String
Property Value
SenderName
Gets or sets the name associated with the sender.
public string SenderName { get; set; }
Public Property SenderName As String
Property Value
SenderOfficeLocation
Gets or sets the office location of the sender.
public string SenderOfficeLocation { get; set; }
Public Property SenderOfficeLocation As String
Property Value
SenderOfficePhone
Gets or sets the office phone number associated with the sender.
public string SenderOfficePhone { get; set; }
Public Property SenderOfficePhone As String
Property Value
SenderTitle
Gets or sets the title title associated with the sender.
public string SenderTitle { get; set; }
Public Property SenderTitle As String
Property Value
Subject
Gets or sets the subject for the fax to be sent.
public string Subject { get; set; }
Public Property Subject 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 .