Table of Contents

Class DocxLink

Namespace
PDiffy
Assembly
PDiffy.dll

A link: the text it covers and where it goes, a URL or "#bookmark" for a place in the document.

public sealed record DocxLink : DocxInline, IEquatable<DocxInline>, IEquatable<DocxLink>
Inheritance
DocxLink
Implements
Inherited Members

Properties

Where the link goes, such as "https://example.com/trails", with "#bookmark" on the end when it also names a place; just "#bookmark" for a place in this document. Null when the link's address can't be found or it has none.

public required string? Target { get; init; }

Property Value

string

The text the link covers, as it is in the paragraph's text; empty when it covers none.

public required string Text { get; init; }

Property Value

string