Class PdfRoleMapping
- Namespace
- PDiffy
- Assembly
- PDiffy.dll
One role map entry: a custom structure type and the type it maps to.
public sealed record PdfRoleMapping : IEquatable<PdfRoleMapping>
- Inheritance
-
PdfRoleMapping
- Implements
- Inherited Members
Properties
Custom
The custom type, as elements use it.
public required string Custom { get; init; }
Property Value
Namespace
The namespace Custom is in, such as a generator's own, when a PDF 2.0 namespace maps it (/RoleMapNS); null for the document's role map (/RoleMap), which maps types used without a namespace.
public string? Namespace { get; init; }
Property Value
Standard
The type it maps to, usually a standard one such as Paragraph. It can be another custom type, which maps on in turn; MappedType gives the first standard type the chain reaches.
public required string Standard { get; init; }
Property Value
StandardNamespace
public string? StandardNamespace { get; init; }