接口 IHyperlinks
- 所有超级接口:
Iterable<IHyperlink>
Represents the collection of hyperlinks for a worksheet or range. Each hyperlink is represented by the
IHyperlink
object.-
方法概要
修饰符和类型方法说明Adds a hyperlink to the specified shape (IHyperlink
object).Adds a hyperlink to the specified shape (IHyperlink
object).Adds a hyperlink to the specified range (IHyperlink
object).Adds a hyperlink to the specified range (IHyperlink
object).void
delete()
Deletes the object.get
(int index) Gets theIHyperlink
by index.int
getCount()
Returns the number of objects in the collection.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
方法详细资料
-
get
Gets theIHyperlink
by index.- 参数:
index
- The index of the collection.- 返回:
- Returns the
IHyperlink
object.
-
getCount
int getCount()Returns the number of objects in the collection. -
add
Adds a hyperlink to the specified range (IHyperlink
object).- 参数:
anchor
- RequiredIRange
The anchor for the hyperlink.address
- Required String. The address of the hyperlink.
-
add
IHyperlink add(IRange anchor, String address, String subAddress, String screenTip, String textToDisplay) Adds a hyperlink to the specified range (IHyperlink
object).- 参数:
anchor
- RequiredIRange
The anchor for the hyperlink.address
- Required String. The address of the hyperlink.subAddress
- Optional Object. The subaddress of the hyperlink.screenTip
- Optional Object. The screen tip to be displayed when the mousepointer is paused over the hyperlink.textToDisplay
- Optional Object. The text to be displayed for the hyperlink.
-
add
Adds a hyperlink to the specified shape (IHyperlink
object).- 参数:
shape
- RequiredIShape
The shape for the hyperlink.address
- Required String. The address of the hyperlink.
-
add
IHyperlink add(IShape shape, String address, String subAddress, String screenTip, String textToDisplay) Adds a hyperlink to the specified shape (IHyperlink
object).- 参数:
shape
- RequiredIRange
The shape for the hyperlink.address
- Required String. The address of the hyperlink.subAddress
- Optional Object. The subaddress of the hyperlink.screenTip
- Optional Object. The screen tip to be displayed when the mousepointer is paused over the hyperlink.textToDisplay
- Optional Object. The text to be displayed for the hyperlink.
-
delete
void delete()Deletes the object.
-