_Presentation.FollowHyperlink Method
Displays a cached document, if it has already been downloaded. Otherwise, this method resolves the hyperlink, downloads the target document and displays it in the appropriate application.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub FollowHyperlink ( _
Address As String, _
SubAddress As String, _
NewWindow As Boolean, _
AddHistory As Boolean, _
ExtraInfo As String, _
Method As MsoExtraInfoMethod, _
HeaderInfo As String _
)
'Usage
Dim instance As _Presentation
Dim Address As String
Dim SubAddress As String
Dim NewWindow As Boolean
Dim AddHistory As Boolean
Dim ExtraInfo As String
Dim Method As MsoExtraInfoMethod
Dim HeaderInfo As String
instance.FollowHyperlink(Address, SubAddress, _
NewWindow, AddHistory, ExtraInfo, _
Method, HeaderInfo)
void FollowHyperlink(
string Address,
string SubAddress,
bool NewWindow,
bool AddHistory,
string ExtraInfo,
MsoExtraInfoMethod Method,
string HeaderInfo
)
Parameters
- Address
Type: System.String
The address of the target document.
- SubAddress
Type: System.String
The location in the target document. By default, this argument is an empty string.
- NewWindow
Type: System.Boolean
true to have the target application opened in a new window. The default value is false.
- AddHistory
Type: System.Boolean
true to add the link to the current day's history folder.
- ExtraInfo
Type: System.String
String or byte array that specifies information for HTTP. This argument can be used, for example, to specify the coordinates of an image map or the contents of a form. It can also indicate a FAT file name. The Method argument determines how this extra information is handled.
- Method
Type: Microsoft.Office.Core.MsoExtraInfoMethod
Specifies how ExtraInfo is posted or appended.
- HeaderInfo
Type: System.String
A string that specifies header information for the HTTP request. The default value is an empty string. You can combine several header lines into a single string by using the following syntax: "string1" & vbCr & "string2". The specified string is automatically converted into ANSI characters. Note that the HeaderInfo argument may overwrite default HTTP header fields.
Remarks
ExtraInfo can be one of these MsoExtraInfoMethod constants.
Constant |
Description |
---|---|
The default. ExtraInfo is a string that is appended to the address. |
|
ExtraInfo is posted as a string or byte array. |