TShapeOptionList.AsHyperLink Method
Overloads
- TShapeOptionList.AsHyperLink(TShapeOption, TDrawingHyperlink)
- TShapeOptionList.AsHyperLink(ExcelFile, TShapeOption, TDrawingHyperlink)
TShapeOptionList.AsHyperLink(TShapeOption, TDrawingHyperlink)
Returns an hyperlink property if it exists, otherwise the default value. You will normally want to use this property with TShapeOption.pihlShape since that is the property that holds the link for the objects. Note that this overload won't return a LinkBase, you need to call the overload taking an ExcelFile for that.
Syntax
Namespace: FlexCel.Core
public TDrawingHyperlink AsHyperLink(TShapeOption key, TDrawingHyperlink Default)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
key | TShapeOption | Property Name. | |
Default | TDrawingHyperlink | What to return if the property does not exist. |
See also
TShapeOptionList.AsHyperLink(ExcelFile, TShapeOption, TDrawingHyperlink)
Returns an hyperlink property if it exists, otherwise the default value. You will normally want to use this property with TShapeOption.pihlShape since that is the property that holds the link for the objects.
Syntax
Namespace: FlexCel.Core
public TDrawingHyperlink AsHyperLink(ExcelFile xls, TShapeOption key, TDrawingHyperlink Default)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
xls | ExcelFile | Excel file containing the hyperlink. Might be null. If not null, it is used to search for a hyperlink base. | |
key | TShapeOption | Property Name. | |
Default | TDrawingHyperlink | What to return if the property does not exist. |