LocalCoverPage
Represents a cover page.
public class LocalCoverPage : FaxCoverPage
Public Class LocalCoverPage
Inherits FaxCoverPage
Inheritance: ObjectFaxCoverPageLocalCoverPage
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 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();
}
}
Constructors
LocalCoverPage(String) | Initializes a new instance of the LocalCoverPage class. |
Properties
FilePath | Gets or sets the file path of the local cover page (*.cov) file. |
Note | Gets or sets the content of the note field. (Inherited from FaxCoverPage) |
RecipientCity | Gets or sets the city of the recipient. (Inherited from FaxCoverPage) |
RecipientCompany | Gets or sets the company name associated with the recipient. (Inherited from FaxCoverPage) |
RecipientCountry | Gets or sets the country of the recipient. (Inherited from FaxCoverPage) |
RecipientDepartment | Gets or sets the department associated with the recipient. (Inherited from FaxCoverPage) |
RecipientFaxNumber | Gets or sets the fax number associated with the recipient. (Inherited from FaxCoverPage) |
RecipientHomePhone | Gets or sets the home phone number associated with the recipient. (Inherited from FaxCoverPage) |
RecipientName | Gets or sets the name of the recipient. (Inherited from FaxCoverPage) |
RecipientOfficeLocation | Gets or sets the office location of the recipient. (Inherited from FaxCoverPage) |
RecipientOfficePhone | Gets or sets the office phone number associated with the recipient. (Inherited from FaxCoverPage) |
RecipientState | Gets or sets the state of the recipient. (Inherited from FaxCoverPage) |
RecipientStreetAddress | Gets or sets the street address of the recipient. (Inherited from FaxCoverPage) |
RecipientTitle | Gets or sets the title associated with the recipient. (Inherited from FaxCoverPage) |
RecipientZip | Gets or sets the zip code of the recipient. (Inherited from FaxCoverPage) |
SenderAddress | Gets or sets the address of the sender. (Inherited from FaxCoverPage) |
SenderCompany | Gets or sets the company name associated with the sender. (Inherited from FaxCoverPage) |
SenderDepartment | Gets or sets the department name associated with the sender. (Inherited from FaxCoverPage) |
SenderFaxNumber | Gets or sets the fax number associated with the sender. (Inherited from FaxCoverPage) |
SenderHomePhone | Gets or sets the home phone number associated with the sender. (Inherited from FaxCoverPage) |
SenderName | Gets or sets the name associated with the sender. (Inherited from FaxCoverPage) |
SenderOfficeLocation | Gets or sets the office location of the sender. (Inherited from FaxCoverPage) |
SenderOfficePhone | Gets or sets the office phone number associated with the sender. (Inherited from FaxCoverPage) |
SenderTitle | Gets or sets the title title associated with the sender. (Inherited from FaxCoverPage) |
Subject | Gets or sets the subject for the fax to be sent. (Inherited from FaxCoverPage) |
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) |