Share via


FaxDoc.CoverpageName property

Sets or retrieves the CoverpageName property for a FaxDoc object. The CoverpageName property is a null-terminated string that contains the name of the cover page template file (.cov) associated with the object.

This property is read/write.

Syntax

Property CoverpageName As String

Property value

A String that specifies or receives the name of the cover page file to associate with the fax document.

Remarks

To send a cover page with a fax document, the following are required:

  • The SendCoverpage property must be equal to True.
  • The CoverpageName property must specify a valid cover page file.

In addition, the ServerCoverpage property must be equal to True if the cover page file is a common cover page file.

You can call the ServerCoverpage method to determine whether the fax server is configured to permit personal cover pages.

The CoverpageName method allocates the memory required for the buffer pointed to by the pVal parameter. The client application must call the SysFreeString function to deallocate the resources associated with this parameter. For more information, see Freeing Fax Resources.

For more information, see Cover Pages and Sending a Cover Page.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Faxcom.h
DLL
Faxcom.dll

See also

FaxDoc

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

IFaxDoc

FileName

ServerCoverpage

SysFreeString