Class
PdfAnnotationReviewEditor
OfficeIMO.Pdf
High-level annotation reply and review-state operations.
Inheritance
- object
- PdfAnnotationReviewEditor
Methods
public static PdfAnnotationEditResult AddReply(byte[] pdf, int parentObjectNumber, string contents, PdfAnnotationReplyOptions? options = null, PdfLoadOptions? readOptions = null, CancellationToken cancellationToken = default) #Adds a Text annotation reply whose /IRT points to an existing indirect annotation.
Parameters
- pdf byte[]
- parentObjectNumber int
- contents string
- options OfficeIMO.Pdf.PdfAnnotationReplyOptions? = null
- readOptions OfficeIMO.Pdf.PdfLoadOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
PdfAnnotationEditResultSetState 2 overloads
public static PdfAnnotationEditResult SetState(byte[] pdf, int annotationObjectNumber, PdfAnnotationReviewState state, PdfMutationExecutionPreference executionPreference = Automatic, bool allowResidualDataInAppendOnly = false, PdfLoadOptions? readOptions = null) #Sets a standard review state on one indirect annotation and validates readback.
Parameters
- pdf byte[]
- annotationObjectNumber int
- state OfficeIMO.Pdf.PdfAnnotationReviewState
- executionPreference OfficeIMO.Pdf.PdfMutationExecutionPreference = Automatic
- allowResidualDataInAppendOnly bool = false
- readOptions OfficeIMO.Pdf.PdfLoadOptions? = null
Returns
PdfAnnotationEditResultpublic static PdfAnnotationEditResult SetState(byte[] pdf, int annotationObjectNumber, PdfAnnotationReviewState state, PdfMutationExecutionPreference executionPreference, bool allowResidualDataInAppendOnly, PdfLoadOptions? readOptions, CancellationToken cancellationToken) #Sets a review state and validates readback with cooperative cancellation.
Parameters
- pdf byte[]
- annotationObjectNumber int
- state OfficeIMO.Pdf.PdfAnnotationReviewState
- executionPreference OfficeIMO.Pdf.PdfMutationExecutionPreference
- allowResidualDataInAppendOnly bool
- readOptions OfficeIMO.Pdf.PdfLoadOptions?
- cancellationToken System.Threading.CancellationToken
Returns
PdfAnnotationEditResult