Package com.grapecity.documents.excel
Interface IHyperlinks
- All Superinterfaces:
Iterable<IHyperlink>
Represents the collection of hyperlinks for a worksheet or range. Each hyperlink is represented by the
IHyperlink object.-
Method Summary
Modifier and TypeMethodDescriptionAdds a hyperlink to the specified shape (IHyperlinkobject).Adds a hyperlink to the specified shape (IHyperlinkobject).Adds a hyperlink to the specified range (IHyperlinkobject).Adds a hyperlink to the specified range (IHyperlinkobject).voiddelete()Deletes the object.get(int index) Gets theIHyperlinkby index.intgetCount()Returns the number of objects in the collection.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
get
Gets theIHyperlinkby index.- Parameters:
index- The index of the collection.- Returns:
- Returns the
IHyperlinkobject.
-
getCount
int getCount()Returns the number of objects in the collection. -
add
Adds a hyperlink to the specified range (IHyperlinkobject).- Parameters:
anchor- RequiredIRangeThe 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 (IHyperlinkobject).- Parameters:
anchor- RequiredIRangeThe 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 (IHyperlinkobject).- Parameters:
shape- RequiredIShapeThe 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 (IHyperlinkobject).- Parameters:
shape- RequiredIRangeThe 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.
-