|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelHyperlink
This class stores the hyperlink information like position (first row, first column, last row, last column), hyperlink type, description, URL, target frame, text mark and tool tip.
Constructor Summary | |
ExcelHyperlink()
Defines an instance of the Excel hyperlink. |
|
ExcelHyperlink(System.String hyperlinkType,
System.String url,
System.String position)
Defines an instance of the Excel hyperlink with the specified type, url and position. |
|
ExcelHyperlink(System.String hyperlinkType,
System.String url,
System.String tooltip,
System.String position)
Defines an instance of the Excel hyperlink with the specified type, url, tooltip and position. |
Method Summary | |
ExcelHyperlink |
Clone()
Creates and returns a copy of this object. |
System.String |
getDescription()
Returns the text that is shown in the table instead of the URL. |
int |
getFirstColumn()
A hyperlink is set on a rectangular area that can contain more than one cell. |
int |
getFirstRow()
A hyperlink is set on a rectangular area that can contain more than one cell. |
System.String |
getHyperlinkType()
Returns a string representing the hyperlink type. |
int |
getLastColumn()
A hyperlink is set on a rectangular area that can contain more than one cell. |
int |
getLastRow()
A hyperlink is set on a rectangular area that can contain more than one cell. |
System.String |
getTextMark()
Returns the text mark value. |
System.String |
getToolTip()
Returns the tool tip text. |
System.String |
getURL()
Return the URL value. |
void |
setDescription(System.String value)
Sets the text that is shown in the table instead of the URL. |
void |
setFirstColumn(int value)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setFirstRow(int value)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setHyperlink(System.String hyperlinkType,
System.String hyperlink)
Sets the type of the hyperlink and the URL value. |
void |
setHyperlinkType(System.String hyperlinkType)
Sets the type of the hyperlink. |
void |
setLastColumn(int value)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setLastRow(int value)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setPosition(int firstRow,
int firstColumn,
int lastRow,
int lastColumn)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setPosition(System.String position)
A hyperlink is set on a rectangular area that can contain more than one cell. |
void |
setTextMark(System.String value)
Sets the text mark value. |
void |
setToolTip(System.String value)
Sets the tool tip text. |
void |
setURL(System.String value)
Sets the URL value. |
Constructor Detail |
public ExcelHyperlink()
public ExcelHyperlink(System.String hyperlinkType, System.String url, System.String position)
hyperlinkType
- the hyperlink type. Possible values are available in HyperlinkType
class.url
- the URL valueposition
- the area location of the hyperlink. It can be a cell reference or a range.public ExcelHyperlink(System.String hyperlinkType, System.String url, System.String tooltip, System.String position)
hyperlinkType
- the hyperlink type. Possible values are available in HyperlinkType
class.url
- the URL valuetooltip
- the tool tip textposition
- the area location of the hyperlink. It can be a cell reference or a range.Method Detail |
public void setPosition(int firstRow, int firstColumn, int lastRow, int lastColumn)
firstRow
- index of the first row of the hyperlink areafirstColumn
- index of the first column of the hyperlink arealastRow
- index of the last row of the hyperlink arealastColumn
- index of the last column of the hyperlink areasetPosition(String)
,
getFirstRow()
,
getLastRow()
,
getFirstColumn()
,
getLastColumn()
public void setPosition(System.String position)
position
- the area location of the hyperlink. It can be a cell reference or a range.setPosition(int,int,int,int)
,
getFirstRow()
,
getLastRow()
,
getFirstColumn()
,
getLastColumn()
public int getFirstRow()
setFirstRow(int)
,
setPosition(int, int, int, int)
public void setFirstRow(int value)
value
- the index of the first row of the hyperlink areagetFirstRow()
,
setPosition(int, int, int, int)
public int getLastRow()
setLastRow(int)
,
setPosition(int, int, int, int)
public void setLastRow(int value)
value
- the index of the last row of the hyperlink areagetLastRow()
,
setPosition(int, int, int, int)
public int getFirstColumn()
setFirstColumn(int)
,
setPosition(int, int, int, int)
public void setFirstColumn(int value)
value
- the index of the first column of the hyperlink areagetFirstColumn()
,
setPosition(int, int, int, int)
public int getLastColumn()
setLastColumn(int)
,
setPosition(int, int, int, int)
public void setLastColumn(int value)
value
- the index of the last column of the hyperlink areagetLastColumn()
,
setPosition(int, int, int, int)
public System.String getDescription()
setDescription(System.String)
public void setDescription(System.String value)
value
- the hyperlink descriptiongetDescription()
public System.String getURL()
setURL(System.String)
public void setURL(System.String value)
value
- the URL valuegetURL()
,
setTextMark(System.String)
public System.String getTextMark()
setTextMark(System.String)
,
setURL(System.String)
public void setTextMark(System.String value)
value
- the text mark valuegetTextMark()
,
getURL()
public System.String getToolTip()
setToolTip(System.String)
public void setToolTip(System.String value)
value
- the tool tip textgetToolTip()
public System.String getHyperlinkType()
HyperlinkType
class.
setHyperlinkType(System.String)
public void setHyperlinkType(System.String hyperlinkType)
HyperlinkType
class.
hyperlinkType
- the hyperlink typegetHyperlinkType()
public void setHyperlink(System.String hyperlinkType, System.String hyperlink)
hyperlinkType
- the hyperlink typehyperlink
- the URL valuegetHyperlinkType()
,
getURL()
,
setHyperlinkType(System.String)
public ExcelHyperlink Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |