Click or drag to resize

PdfContentMark Class

Represents a mark used to distinguish the part of the PDF content.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.ContentPdfContentElement
    SautinSoft.Pdf.ContentPdfContentMark

Namespace: SautinSoft.Pdf.Content
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.5.19
Syntax
public sealed class PdfContentMark : PdfContentElement

The PdfContentMark type exposes the following members.

Properties
 NameDescription
Public propertyAssociatedFiles(Optional; PDF 2.0) An array of one or more PdfFileSpecifications which denote the associated files for content marked with this PdfContentMark.
Public propertyElementType Gets the Mark value.
(Overrides PdfContentElementElementType)
Public propertyMarkType Gets the type of the content mark.
Public propertyProperties

Gets or sets the marked content properties.

The Properties of the End mark is retrieved from and set to the associated Start mark.

Use GetDictionary(PdfObject) on the returned PdfContentMarkProperties to get the underlying PdfDictionary that contains the actual properties.

If PdfContentMarkProperties value doesn't contain any PdfIndirectObject, it is set as a read-only when reading/writing the Properties from/to the underlying content stream and when setting the Properties to a new value. This is required to correctly detect content changes.

Use GetEditableProperties method to get PdfContentMarkProperties that you want to edit.

Public propertyTag

Gets or sets the marked content tag.

The Tag of the End mark is retrieved from and set to the associated Start mark.

Top
Methods
 NameDescription
Public methodGetEditableProperties

Gets the marked content properties that can edited.

The GetEditableProperties of the End mark is retrieved from the associated Start mark.

Use GetDictionary(PdfObject) on the returned PdfContentMarkProperties to get the underlying PdfDictionary that contains the actual editable properties.

Use this method only if you want to edit Properties; otherwise, use Properties.

Public methodToString Returns a String that represents this PdfContentMark instance.
(Overrides ObjectToString)
Top
See Also