IFaxDocument::get_Body method (faxcomex.h)

The IFaxDocument::get_Body property provides the path to the file that comprises the body of a fax. The body of a fax consists of the fax pages other than the cover page.

This property is read/write.

Syntax

HRESULT get_Body(
  BSTR *pbstrBody
);

Parameters

pbstrBody

Return value

None

Remarks

Examples of documents that you can send as a fax body are a text file (.txt), a Microsoft Word document (.doc), or a Microsoft Excel spreadsheet (.xls). When you send a fax from a client computer, the body has to be associated with an application that is installed on that computer, and the application has to support the PrintTo verb; otherwise, the fax will fail.

Either the Bodies property or the IFaxDocument::get_Body property must be NULL. You must use Bodies if you will be submitting with either ConnectedSubmit2 or Submit2 (both available only in Windows Vista or later). You must use IFaxDocument::get_Body if you will be submitting with either ConnectedSubmit or IFaxDocument::Submit.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

FaxDocument

IFaxDocument

Visual Basic Example