Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

WordHyperLinkScope

OfficeIMO.Word

Namespace
OfficeIMO.Word
Assembly
OfficeIMO.Word
Modifiers
sealed

Edits one 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.

Accepted by parameters 5

Methods

public WordHyperLinkScope Anchor(string? value) #

Sets WordHyperLink.Anchor: 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) #

Sets WordHyperLink.DocLocation: 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) #

Sets WordHyperLink.History: 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) #

Sets WordHyperLink.Id: 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) #

Configures WordHyperLink.Paragraph 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) #

Sets WordHyperLink.TargetFrame: 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) #

Sets WordHyperLink.Text: 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) #

Sets WordHyperLink.Tooltip: 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) #

Sets WordHyperLink.Uri: Gets or sets the URI of the hyperlink.

Parameters

value System.Uri? required
The value.

Returns

WordHyperLinkScope The same scope.

Properties

public WordHyperLink Model { get; } #

The WordHyperLink this scope edits, for plain C# inside a lambda.