Compartilhar via


_Presentation.SendFaxOverInternet Method

Sends a presentation as a fax to the specified recipients.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub SendFaxOverInternet ( _
    Recipients As String, _
    Subject As String, _
    ShowMessage As Boolean _
)
'Usage
Dim instance As _Presentation
Dim Recipients As String
Dim Subject As String
Dim ShowMessage As Boolean

instance.SendFaxOverInternet(Recipients, _
    Subject, ShowMessage)
void SendFaxOverInternet(
    string Recipients,
    string Subject,
    bool ShowMessage
)

Parameters

  • Recipients
    Type: System.String
    A value that represents the fax numbers and e-mail addresses of the people to whom to send the fax. Separate multiple recipients with a semicolon.
  • Subject
    Type: System.String
    A value that represents the subject line for the faxed presentation.
  • ShowMessage
    Type: System.Boolean
    Whether to display the fax message before sending it. true displays the fax message before sending it. false sends the fax without displaying the fax message.

Remarks

Using the SendFaxOverInternet(String, String, Boolean) method requires that the fax service be enabled on a user's computer.

The format used for specifying fax numbers in the Recipients parameter is either recipientsfaxnumber@usersfaxprovider or recipientsname@recipientsfaxnumber. You can access the user's fax provider information by using the following registry path:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Services\Fax

Use the FaxAddress key value under the above registry path to determine the format to use for a user.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace