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:

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

FilePathGets or sets the file path of the local cover page (*.cov) file.
NoteGets or sets the content of the note field.
(Inherited from FaxCoverPage)
RecipientCityGets or sets the city of the recipient.
(Inherited from FaxCoverPage)
RecipientCompanyGets or sets the company name associated with the recipient.
(Inherited from FaxCoverPage)
RecipientCountryGets or sets the country of the recipient.
(Inherited from FaxCoverPage)
RecipientDepartmentGets or sets the department associated with the recipient.
(Inherited from FaxCoverPage)
RecipientFaxNumberGets or sets the fax number associated with the recipient.
(Inherited from FaxCoverPage)
RecipientHomePhoneGets or sets the home phone number associated with the recipient.
(Inherited from FaxCoverPage)
RecipientNameGets or sets the name of the recipient.
(Inherited from FaxCoverPage)
RecipientOfficeLocationGets or sets the office location of the recipient.
(Inherited from FaxCoverPage)
RecipientOfficePhoneGets or sets the office phone number associated with the recipient.
(Inherited from FaxCoverPage)
RecipientStateGets or sets the state of the recipient.
(Inherited from FaxCoverPage)
RecipientStreetAddressGets or sets the street address of the recipient.
(Inherited from FaxCoverPage)
RecipientTitleGets or sets the title associated with the recipient.
(Inherited from FaxCoverPage)
RecipientZipGets or sets the zip code of the recipient.
(Inherited from FaxCoverPage)
SenderAddressGets or sets the address of the sender.
(Inherited from FaxCoverPage)
SenderCompanyGets or sets the company name associated with the sender.
(Inherited from FaxCoverPage)
SenderDepartmentGets or sets the department name associated with the sender.
(Inherited from FaxCoverPage)
SenderFaxNumberGets or sets the fax number associated with the sender.
(Inherited from FaxCoverPage)
SenderHomePhoneGets or sets the home phone number associated with the sender.
(Inherited from FaxCoverPage)
SenderNameGets or sets the name associated with the sender.
(Inherited from FaxCoverPage)
SenderOfficeLocationGets or sets the office location of the sender.
(Inherited from FaxCoverPage)
SenderOfficePhoneGets or sets the office phone number associated with the sender.
(Inherited from FaxCoverPage)
SenderTitleGets or sets the title title associated with the sender.
(Inherited from FaxCoverPage)
SubjectGets 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)

See Also

ceTe.DynamicPDF.Printing

In this topic