# WordHyperLinkFluent

The fluent methods of WordHyperLink, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

static

The fluent methods of [WordHyperLink](/api/word/officeimo-word-wordhyperlink/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- WordHyperLinkFluent

Filter members 

Show inherited

## Methods

`public static TSelf Anchor<TSelf>(TSelf wordHyperLink, string? value)` [#](#method-anchor-string)

Sets [WordHyperLink.Anchor](/api/word/officeimo-word-wordhyperlink/): Specifies the name of a bookmark within the document. See Bookmark. If the attribute is omitted, then the default behavior is to navigate to the start of the document. If the r:id attribute is specified, then the anchor attribute is ignored.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordHyperLink.Anchor = value;    wordHyperLink.Anchor(value);
```

`public static TSelf DocLocation<TSelf>(TSelf wordHyperLink, string? value)` [#](#method-doclocation-string)

Sets [WordHyperLink.DocLocation](/api/word/officeimo-word-wordhyperlink/): Specifies a location in the target of the hyperlink, in the case in which the link is an external link.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
wordHyperLink.DocLocation = value;    wordHyperLink.DocLocation(value);
```

`public static TSelf History<TSelf>(TSelf wordHyperLink, bool value = true)` [#](#method-history-boolean)

Sets [WordHyperLink.History](/api/word/officeimo-word-wordhyperlink/): Gets or sets whether the hyperlink is marked as visited.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
wordHyperLink.History = value;    wordHyperLink.History(value);
```

`public static TSelf Id<TSelf>(TSelf wordHyperLink, string? value)` [#](#method-id-string)

Sets [WordHyperLink.Id](/api/word/officeimo-word-wordhyperlink/): Gets or sets the hyperlink relationship's identifier.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordHyperLink.Id = value;        wordHyperLink.Id(value);
```

`public static TSelf Paragraph<TSelf>(TSelf wordHyperLink, Action<WordParagraph> configure)` [#](#method-paragraph-action-officeimo-word-wordparagraph)

Configures [WordHyperLink.Paragraph](/api/word/officeimo-word-wordhyperlink/) in place: Gets the paragraph containing this hyperlink.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**configure System.Action<OfficeIMO.Word.WordParagraph> required**

Configures the value.

Returns

`TSelf` The same instance.

`public static TSelf TargetFrame<TSelf>(TSelf wordHyperLink, WordHyperlinkTargetFrame? value)` [#](#method-targetframe-nullable-officeimo-word-wordhyperlinktargetframe)

Sets [WordHyperLink.TargetFrame](/api/word/officeimo-word-wordhyperlink/): Gets or sets the target frame for the hyperlink.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value OfficeIMO.Word.WordHyperlinkTargetFrame? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property         // C# fluent
wordHyperLink.TargetFrame = value;    wordHyperLink.TargetFrame(value);
```

`public static TSelf Text<TSelf>(TSelf wordHyperLink, string value)` [#](#method-text-string)

Sets [WordHyperLink.Text](/api/word/officeimo-word-wordhyperlink/): Gets or sets the display text for the hyperlink.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value string required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordHyperLink.Text = value;      wordHyperLink.Text(value);
```

`public static TSelf Tooltip<TSelf>(TSelf wordHyperLink, string? value)` [#](#method-tooltip-string)

Sets [WordHyperLink.Tooltip](/api/word/officeimo-word-wordhyperlink/): Gets or sets the tooltip displayed when hovering over the hyperlink.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value string? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property     // C# fluent
wordHyperLink.Tooltip = value;    wordHyperLink.Tooltip(value);
```

`public static TSelf Uri<TSelf>(TSelf wordHyperLink, Uri? value)` [#](#method-uri-uri)

Sets [WordHyperLink.Uri](/api/word/officeimo-word-wordhyperlink/): Gets or sets the URI of the hyperlink.

Type Parameters

**TSelf**

Parameters

**wordHyperLink TSelf required**

The instance.

**value System.Uri? required**

The value.

Returns

`TSelf` The same instance.

Examples

```csharp
// C# initializer or property    // C# fluent
wordHyperLink.Uri = value;       wordHyperLink.Uri(value);
```

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:63C6B71B096DB698535E1F973D489A8179B928CD3DE4B7B8B9487D091461175F -->
