Skip to main content
Skip table of contents

PdfStructureElement

PdfStructureElement Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.PdfStructureElement[[PdfStructureElement]]
  iTextSharp.text.pdf.PdfDictionary[[PdfDictionary]]
  end
  subgraph iTextSharp.text.pdf.interfaces
  iTextSharp.text.pdf.interfaces.IPdfStructureElement[[IPdfStructureElement]]
  class iTextSharp.text.pdf.interfaces.IPdfStructureElement interfaceStyle;
  end
iTextSharp.text.pdf.interfaces.IPdfStructureElement --> iTextSharp.text.pdf.PdfStructureElement
iTextSharp.text.pdf.PdfDictionary --> iTextSharp.text.pdf.PdfStructureElement

Members

Properties

Public properties

Methods

Public methods
ReturnsName
PdfObjectGetAttribute(PdfName name)
PdfDictionaryGetParent(bool includeStructTreeRoot)
voidSetAttribute(PdfName name, PdfObject obj)
voidToPdf(PdfWriter writer, Stream os)
voidWriteAttributes(IAccessibleElement element)
Internal methods
ReturnsName
voidSetAnnotation(PdfAnnotation annot, PdfIndirectReference currentPage)
voidSetPageMark(int page, int mark)

Details

Inheritance

Constructors

PdfStructureElement [1/3]

Source code

public PdfStructureElement(PdfStructureElement parent, PdfName structureType)
Arguments
TypeNameDescription
PdfStructureElementparent
PdfNamestructureType
PdfStructureElement [2/3]

Source code

public PdfStructureElement(PdfStructureTreeRoot root, PdfName structureType)
Arguments
TypeNameDescription
PdfStructureTreeRootroot
PdfNamestructureType
PdfStructureElement [3/3]

Source code

internal PdfStructureElement(PdfDictionary parent, PdfName structureType)
Arguments
TypeNameDescription
PdfDictionaryparent
PdfNamestructureType

Methods

GetParent

Source code

public virtual PdfDictionary GetParent(bool includeStructTreeRoot)
Arguments
TypeNameDescription
boolincludeStructTreeRoot
SetPageMark

Source code

internal virtual void SetPageMark(int page, int mark)
Arguments
TypeNameDescription
intpage
intmark
SetAnnotation

Source code

internal virtual void SetAnnotation(PdfAnnotation annot, PdfIndirectReference currentPage)
Arguments
TypeNameDescription
PdfAnnotationannot
PdfIndirectReferencecurrentPage
GetAttribute

Source code

public virtual PdfObject GetAttribute(PdfName name)
Arguments
TypeNameDescription
PdfNamename
SetAttribute

Source code

public virtual void SetAttribute(PdfName name, PdfObject obj)
Arguments
TypeNameDescription
PdfNamename
PdfObjectobj
WriteAttributes

Source code

public virtual void WriteAttributes(IAccessibleElement element)
Arguments
TypeNameDescription
IAccessibleElementelement
ToPdf

Source code

public override void ToPdf(PdfWriter writer, Stream os)
Arguments
TypeNameDescription
PdfWriterwriter
Streamos

Properties

StructureType
public virtual PdfName StructureType { get; }
Parent
public virtual PdfDictionary Parent { get; }
Reference
public virtual PdfIndirectReference Reference { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.