接口 IHyperlink
public interface IHyperlink
Represents a hyperlink.
-
方法概要
修饰符和类型方法说明void
delete()
Deletes the hyperlink.Gets the address of the target document.Gets the text string of the specified hyperlink’s e-mail subject line.getName()
Returns the name of the object.getRange()
Returns theIRange
object that represents the range the specifiedhyperlink is attached to.Gets the ScreenTip text for the specified hyperlink.getShape()
Returns theIShape
object that represents the shape attached to the specified hyperlink.Gets the location within the document associated with the hyperlink.Gets the text to be displayed for the specified hyperlink.void
setAddress
(String value) Sets the address of the target document.void
setEmailSubject
(String value) Sets the text string of the specified hyperlink’s e-mail subject line.void
setScreenTip
(String value) Sets the ScreenTip text for the specified hyperlink.void
setSubAddress
(String value) Sets the location within the document associated with the hyperlink.void
setTextToDisplay
(String value) Sets the text to be displayed for the specified hyperlink.
-
方法详细资料
-
getName
String getName()Returns the name of the object. -
getRange
IRange getRange()Returns theIRange
object that represents the range the specifiedhyperlink is attached to. -
getShape
IShape getShape()Returns theIShape
object that represents the shape attached to the specified hyperlink. -
getAddress
String getAddress()Gets the address of the target document. -
setAddress
Sets the address of the target document. -
getEmailSubject
String getEmailSubject()Gets the text string of the specified hyperlink’s e-mail subject line. The subject line is appended to the hyperlink’s address. -
setEmailSubject
Sets the text string of the specified hyperlink’s e-mail subject line. The subject line is appended to the hyperlink’s address. -
getScreenTip
String getScreenTip()Gets the ScreenTip text for the specified hyperlink. -
setScreenTip
Sets the ScreenTip text for the specified hyperlink. -
getSubAddress
String getSubAddress()Gets the location within the document associated with the hyperlink. -
setSubAddress
Sets the location within the document associated with the hyperlink. -
getTextToDisplay
String getTextToDisplay()Gets the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink. -
setTextToDisplay
Sets the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink. -
delete
void delete()Deletes the hyperlink.
-