# WordHyperLinkScope

Edits one WordHyperLink: its fluent methods and keywords, each returning this scope.

Class 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Modifiers**

sealed

Edits one [WordHyperLink](/api/word/officeimo-word-wordhyperlink/): its fluent methods and keywords, each returning this scope.

## Inheritance

- object
- WordHyperLinkScope

## Usage

Explore 14 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 9

- Method [WordHyperLinkScope.Anchor](/api/word/officeimo-word-wordhyperlinkscope/#method-anchor-string)
- Method [WordHyperLinkScope.DocLocation](/api/word/officeimo-word-wordhyperlinkscope/#method-doclocation-string)
- Method [WordHyperLinkScope.History](/api/word/officeimo-word-wordhyperlinkscope/#method-history-boolean)
- Method [WordHyperLinkScope.Id](/api/word/officeimo-word-wordhyperlinkscope/#method-id-string)
- Method [WordHyperLinkScope.Paragraph](/api/word/officeimo-word-wordhyperlinkscope/#method-paragraph-action-officeimo-word-wordparagraph)
- Method [WordHyperLinkScope.TargetFrame](/api/word/officeimo-word-wordhyperlinkscope/#method-targetframe-nullable-officeimo-word-wordhyperlinktargetframe)
- Method [WordHyperLinkScope.Text](/api/word/officeimo-word-wordhyperlinkscope/#method-text-string)
- Method [WordHyperLinkScope.Tooltip](/api/word/officeimo-word-wordhyperlinkscope/#method-tooltip-string)
- Method [WordHyperLinkScope.Uri](/api/word/officeimo-word-wordhyperlinkscope/#method-uri-uri)

### Accepted by parameters 5

- Method [WordDocumentScope.HyperLink](/api/word/officeimo-word-worddocumentscope/#method-hyperlink-string-uri-boolean-string-boolean-action-officeimo-word-wordhyperlinkscope) parameter `configure`
- Method [WordFooterScope.HyperLink](/api/word/officeimo-word-wordfooterscope/#method-hyperlink-string-uri-boolean-string-boolean-action-officeimo-word-wordhyperlinkscope) parameter `configure`
- Method [WordHeaderScope.HyperLink](/api/word/officeimo-word-wordheaderscope/#method-hyperlink-string-uri-boolean-string-boolean-action-officeimo-word-wordhyperlinkscope) parameter `configure`
- Method [WordParagraphScope.HyperLink](/api/word/officeimo-word-wordparagraphscope/#method-hyperlink-string-uri-boolean-string-boolean-action-officeimo-word-wordhyperlinkscope) parameter `configure`
- Method [WordSectionScope.HyperLink](/api/word/officeimo-word-wordsectionscope/#method-hyperlink-string-uri-boolean-string-boolean-action-officeimo-word-wordhyperlinkscope) parameter `configure`

Filter members 

Show inherited

## Methods

`public WordHyperLinkScope Anchor(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.

Parameters

**value string? required**

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope DocLocation(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.

Parameters

**value string? required**

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope History(bool value = true)` [#](#method-history-boolean)

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

Parameters

**value bool = true optional**

The value; true when omitted.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope Id(string? value)` [#](#method-id-string)

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

Parameters

**value string? required**

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope Paragraph(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.

Parameters

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

Configures the value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope TargetFrame(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.

Parameters

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

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope Text(string value)` [#](#method-text-string)

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

Parameters

**value string required**

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope Tooltip(string? value)` [#](#method-tooltip-string)

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

Parameters

**value string? required**

The value.

Returns

`WordHyperLinkScope` The same scope.

`public WordHyperLinkScope Uri(Uri? value)` [#](#method-uri-uri)

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

Parameters

**value System.Uri? required**

The value.

Returns

`WordHyperLinkScope` The same scope.

## 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?`

## Properties

`public WordHyperLink Model { get; }` [#](#property-model)

The [WordHyperLink](/api/word/officeimo-word-wordhyperlink/) this scope edits, for plain C# inside a lambda.

<!-- PowerForge markdown artifact sha256:A2BFB44385A0B5DD690DA2233560EC028A511BD512F978ACEFEE76FC769D7C5C -->
