Class MarkedContentElement
A marked content element can be used to provide application specific data in the page's content stream. Interpretation of the marked content is outside of the PDF specification.
public class MarkedContentElement
- Inheritance
-
MarkedContentElement
- Derived
- Inherited Members
Constructors
MarkedContentElement(int, NameToken, DictionaryToken, string, string, string, string, bool, IReadOnlyList<MarkedContentElement>, IReadOnlyList<Letter>, IReadOnlyList<PdfPath>, IReadOnlyList<IPdfImage>, int)
Create a new MarkedContentElement.
public MarkedContentElement(int markedContentIdentifier, NameToken tag, DictionaryToken properties, string language, string actualText, string alternateDescription, string expandedForm, bool isArtifact, IReadOnlyList<MarkedContentElement> children, IReadOnlyList<Letter> letters, IReadOnlyList<PdfPath> paths, IReadOnlyList<IPdfImage> images, int index)
Parameters
markedContentIdentifier
inttag
NameTokenproperties
DictionaryTokenlanguage
stringactualText
stringalternateDescription
stringexpandedForm
stringisArtifact
boolchildren
IReadOnlyList<MarkedContentElement>letters
IReadOnlyList<Letter>paths
IReadOnlyList<PdfPath>images
IReadOnlyList<IPdfImage>index
int
Properties
ActualText
The replacement text.
public string ActualText { get; }
Property Value
AlternateDescription
The alternate description.
public string AlternateDescription { get; }
Property Value
Children
Child contents.
public IReadOnlyList<MarkedContentElement> Children { get; }
Property Value
ExpandedForm
The abbreviation expansion text.
public string ExpandedForm { get; }
Property Value
Images
Images contained in this marked content.
public IReadOnlyList<IPdfImage> Images { get; }
Property Value
Index
The index of this marked content element in the set of marked content in the page. Children marked content elements will have the same index as the parent.
public int Index { get; }
Property Value
IsArtifact
Is the marked content an artifact, see ArtifactMarkedContentElement.
public bool IsArtifact { get; }
Property Value
Language
The natural language specification.
public string Language { get; }
Property Value
Letters
Letters contained in this marked content.
public IReadOnlyList<Letter> Letters { get; }
Property Value
MarkedContentIdentifier
Marked-content identifier.
public int MarkedContentIdentifier { get; }
Property Value
Paths
Paths contained in this marked content.
public IReadOnlyList<PdfPath> Paths { get; }
Property Value
Properties
The properties for this element.
public DictionaryToken Properties { get; }
Property Value
Tag
A name indicating the role or significance of the point.
public string Tag { get; }
Property Value
Methods
ToString()
public override string ToString()