Class DocxSymbol
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
A character from a symbol font, such as Wingdings: the font and the character's code in hex.
public sealed record DocxSymbol : DocxInline, IEquatable<DocxInline>, IEquatable<DocxSymbol>
- Inheritance
-
DocxSymbol
- Implements
- Inherited Members
Properties
Code
The character's code in uppercase hex, such as "F0FC"; the character then also appears in the paragraph's text. A code that isn't hex is kept as the file writes it and isn't in the text; empty when the symbol has no code.
public required string Code { get; init; }
Property Value
Font
The symbol font, such as "Wingdings", or null when the symbol doesn't name one.
public required string? Font { get; init; }