[]
Adds a text hyperlink to the current paragraph content.
public ParagraphText AddHyperlink(string text, string anchorName)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
string | anchorName | The name of the anchor which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text,
sets the Hyperlink on that object to a
C1Hyperlink initialized with anchorName
,
and adds it to the current collection.
Adds a text hyperlink with a specified style to the current paragraph content.
public ParagraphText AddHyperlink(string text, string anchorName, Style style)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
string | anchorName | The name of the anchor which is the target of the hyperlink. |
Style | style | A style used to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text and style,
sets the Hyperlink on that object to a
C1Hyperlink initialized with anchorName
,
and adds it to the current collection.
Adds a text hyperlink to the current paragraph content.
public ParagraphText AddHyperlink(string text, C1LinkTarget target)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
C1LinkTarget | target | A C1LinkTarget which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text,
sets the Hyperlink on that object to a
C1Hyperlink initialized with target
,
and adds it to the current collection.
Adds a text hyperlink with a specified style to the current paragraph content.
public ParagraphText AddHyperlink(string text, C1LinkTarget target, Style style)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
C1LinkTarget | target | A C1LinkTarget which is the target of the hyperlink. |
Style | style | A style used to render the string. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text and style,
sets the Hyperlink on that object to a
C1Hyperlink initialized with target
,
and adds it to the current collection.
Adds a text hyperlink to the current paragraph content.
public ParagraphText AddHyperlink(string text, RenderObject renderObject)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
RenderObject | renderObject | A RenderObject which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text,
sets the Hyperlink on that object to a
C1Hyperlink initialized with renderObject
,
and adds it to the current collection.
Adds a text hyperlink to the current paragraph content.
public ParagraphText AddHyperlink(string text, ParagraphObject paragraphObject)
Type | Name | Description |
---|---|---|
string | text | The text string to add. |
ParagraphObject | paragraphObject | A ParagraphObject which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphText | A ParagraphText object representing the specified text string, associated with the specified hyperlink. |
This method creates a ParagraphText,
initializes it with the specified text,
sets the Hyperlink on that object to a
C1Hyperlink initialized with paragraphObject
,
and adds it to the current collection.
Adds an image hyperlink to the current paragraph content.
public ParagraphImage AddHyperlink(Image image, string anchorName)
Type | Name | Description |
---|---|---|
Image | image | The image to add. |
string | anchorName | The name of the anchor which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphImage | A ParagraphImage object representing the specified image, associated with the specified hyperlink. |
This method creates a ParagraphImage,
initializes it with the specified image,
sets the Hyperlink on that object to a
C1Hyperlink initialized with anchorName
,
and adds it to the current collection.
Adds an image hyperlink to the current paragraph content.
public ParagraphImage AddHyperlink(Image image, C1LinkTarget target)
Type | Name | Description |
---|---|---|
Image | image | The image to add. |
C1LinkTarget | target | A C1LinkTarget which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphImage | A ParagraphImage object representing the specified image, associated with the specified hyperlink. |
This method creates a ParagraphImage,
initializes it with the specified image,
sets the Hyperlink on that object to a
C1Hyperlink initialized with target
,
and adds it to the current collection.
Adds an image hyperlink to the current paragraph content.
public ParagraphImage AddHyperlink(Image image, RenderObject renderObject)
Type | Name | Description |
---|---|---|
Image | image | The image to add. |
RenderObject | renderObject | A RenderObject which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphImage | A ParagraphImage object representing the specified image, associated with the specified hyperlink. |
This method creates a ParagraphImage,
initializes it with the specified image,
sets the Hyperlink on that object to a
C1Hyperlink initialized with renderObject
,
and adds it to the current collection.
Adds an image hyperlink to the current paragraph content.
public ParagraphImage AddHyperlink(Image image, ParagraphObject paragraphObject)
Type | Name | Description |
---|---|---|
Image | image | The image to add. |
ParagraphObject | paragraphObject | A ParagraphObject which is the target of the hyperlink. |
Type | Description |
---|---|
ParagraphImage | A ParagraphImage object representing the specified image, associated with the specified hyperlink. |
This method creates a ParagraphImage,
initializes it with the specified image,
sets the Hyperlink on that object to a
C1Hyperlink initialized with paragraphObject
,
and adds it to the current collection.