Class
PdfAnnotationReviewCatalog
OfficeIMO.Pdf
Validated thread view over the annotations in a PDF artifact.
Inheritance
- object
- PdfAnnotationReviewCatalog
Usage
Explore 3 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
Methods
public static PdfAnnotationReviewCatalog Build(IReadOnlyList<PdfAnnotation> annotations, PdfAnnotationReviewCatalogOptions? options = null, CancellationToken cancellationToken = default) #Builds reply threads from already-read annotations.
Parameters
- annotations System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfAnnotation>
- options OfficeIMO.Pdf.PdfAnnotationReviewCatalogOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
PdfAnnotationReviewCatalogpublic static PdfAnnotationReviewCatalog Read(byte[] pdf, PdfLoadOptions? readOptions = null, PdfAnnotationReviewCatalogOptions? options = null, CancellationToken cancellationToken = default) #Reads all annotations and builds their reply threads.
Parameters
- pdf byte[]
- readOptions OfficeIMO.Pdf.PdfLoadOptions? = null
- options OfficeIMO.Pdf.PdfAnnotationReviewCatalogOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
PdfAnnotationReviewCatalogInherited Methods
Properties
public IReadOnlyList<PdfAnnotationReviewThread> Threads { get; } #Root review threads in page and object order.
public int AnnotationCount { get; } #Total annotations represented by the catalog.
public int ReplyCount { get; } #Annotations represented as conversational replies.
public int OrphanedReplyCount { get; } #Replies whose parent could not be represented as a valid thread ancestor.