Click or drag to resize

PdfAnnotationCollection Class

Represents a collection of PdfAnnotations.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfPdfObject
    SautinSoft.PdfPdfCollection
      SautinSoft.PdfPdfCollectionPdfAnnotation
        SautinSoft.PdfPdfOptionalCollectionPdfAnnotation
          SautinSoft.Pdf.AnnotationsPdfAnnotationCollection

Namespace: SautinSoft.Pdf.Annotations
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2024.11.26
Syntax
public sealed class PdfAnnotationCollection : PdfOptionalCollection<PdfAnnotation>, 
	IList, ICollection, IEnumerable, IList<PdfAnnotation>, 
	ICollection<PdfAnnotation>, IEnumerable<PdfAnnotation>

The PdfAnnotationCollection type exposes the following members.

Methods
 NameDescription
Public methodAddEmptyFileAttachment

Adds a PdfFileAttachmentAnnotation to the PdfAnnotationCollection with the associated file created from the specified fileSpecificationName with an empty EmbeddedFile.

The Paperclip whose size is 7 pt x 17 pt is used for an appearance of a newly added PdfFileAttachmentAnnotation.

Public methodAddFileAttachment

Adds a PdfFileAttachmentAnnotation to the PdfAnnotationCollection with the associated file copied from the resource specified by the filePath.

The Paperclip whose size is 7 pt x 17 pt is used for an appearance of a newly added PdfFileAttachmentAnnotation.

Public methodAddLink Adds a PdfLinkAnnotation to the PdfAnnotationCollection.
Top
Extension Methods
 NameDescription
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetArray Gets the PdfArray that serves as a backing storage of the specified PdfObject or if no PdfArray serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddArray Gets the PdfArray that serves as a backing storage of the specified PdfCollection.
(Defined by PdfObjectExtensions)
Public Extension MethodGetOrAddDictionary Gets the PdfDictionary that serves as a backing storage of the specified PdfObject.
(Defined by PdfObjectExtensions)
Top
See Also