Name | Description | |
---|---|---|
OnCustomAnnotationPaint | This event is raised when a custom annotation is to be rendered. Your custom ModelID identifier, that you have defined when adding the custom annotation, should be used internally in this event to render the required annotation, as it is demontrated in the Example section below.
Please check the corresponded AnnotationManager.OnCustomAnnotationPaintEventHandler for given parameters. The bounding box for the annotation appearance, that you need to follow, is defined by values x, y, w, h, where x and y define the coordinates of the top-left corner of the box as x = (Annot.Left - Annot.Width) / 2, y = (Annot.Top - Annot.Height) / 2, w defines the width of the box as w = Annot.Width and y defines the height of the box as y = Annot.Height. The measurement unit used for specified dimensions and sizes is expressed in inches. The rotation, if any, is handled by the component, which automatically sets the required transformation. | |
SavingProgress | This event is raised right after the currently processed page has been successfully created and saved. It is only applied when the initial document is image-based.
Please check the corresponded AnnotationManager.SavingProgressEventHandler for given parameters. The event is only raised when processing documents based on images using the AnnotationManager.SaveDocumentToPDF or the AnnotationManager.SaveDocumentToTIFF methods and its overloads. The event is not raised, if your initial document is in PDF or TXT format and you are saving it using the AnnotationManager.SaveDocumentToPDF method and its overloads. The event is not raised using the AnnotationManager.SaveDocumentToJPEG method and its overloads as well. |