• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ContentMark

A marked-content point or sequence boundary in a content stream (spec §14.10). Represents a BMC, BDC, MP, or EMC operator encountered during content interpretation.

Inheritance
object
ContentMark
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Content
Assembly: DRIT.Pdf.dll
Syntax
public sealed class ContentMark

Constructors

ContentMark(ContentMarkType, string?, bool)

Initializes a content mark.

Declaration
public ContentMark(ContentMarkType markType, string? tagName = null, bool hasProperties = false)
Parameters
Type Name Description
ContentMarkType markType
string tagName
bool hasProperties

Properties

HasProperties

Gets whether this mark has an associated property list.

Declaration
public bool HasProperties { get; }
Property Value
Type Description
bool

MarkType

Gets the type of this mark (Start, Point, or End).

Declaration
public ContentMarkType MarkType { get; }
Property Value
Type Description
ContentMarkType

TagName

Gets the tag name for this marked content. Null for End marks.

Declaration
public string? TagName { get; }
Property Value
Type Description
string

Methods

GetEditableProperties()

Returns the editable properties for this marked-content sequence. Only valid for Start marks with property lists.

Declaration
public ContentMarkProperties? GetEditableProperties()
Returns
Type Description
ContentMarkProperties

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX