FaxCoverPage

Represents a cover page for the fax.

public abstract class FaxCoverPage
Public MustInherit Class FaxCoverPage

Inheritance: ObjectFaxCoverPage

Derived: LocalCoverPage, ServerCoverPage

Licensing Info

This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:

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

NoteGets or sets the content of the note field.
RecipientCityGets or sets the city of the recipient.
RecipientCompanyGets or sets the company name associated with the recipient.
RecipientCountryGets or sets the country of the recipient.
RecipientDepartmentGets or sets the department associated with the recipient.
RecipientFaxNumberGets or sets the fax number associated with the recipient.
RecipientHomePhoneGets or sets the home phone number associated with the recipient.
RecipientNameGets or sets the name of the recipient.
RecipientOfficeLocationGets or sets the office location of the recipient.
RecipientOfficePhoneGets or sets the office phone number associated with the recipient.
RecipientStateGets or sets the state of the recipient.
RecipientStreetAddressGets or sets the street address of the recipient.
RecipientTitleGets or sets the title associated with the recipient.
RecipientZipGets or sets the zip code of the recipient.
SenderAddressGets or sets the address of the sender.
SenderCompanyGets or sets the company name associated with the sender.
SenderDepartmentGets or sets the department name associated with the sender.
SenderFaxNumberGets or sets the fax number associated with the sender.
SenderHomePhoneGets or sets the home phone number associated with the sender.
SenderNameGets or sets the name associated with the sender.
SenderOfficeLocationGets or sets the office location of the sender.
SenderOfficePhoneGets or sets the office phone number associated with the sender.
SenderTitleGets or sets the title title associated with the sender.
SubjectGets or sets the subject for the fax to be sent.

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)

See Also

ceTe.DynamicPDF.Printing

In this topic