Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > Leadtools.Pdf Namespace > PDFFile Class : WriteAnnotations Method |
public void WriteAnnotations( IList<PDFAnnotation> annotations, string destinationFileName )
'Declaration
Public Sub WriteAnnotations( _ ByVal annotations As IList(Of PDFAnnotation), _ ByVal destinationFileName As String _ )
'Usage
Dim instance As PDFFile Dim annotations As IList(Of PDFAnnotation) Dim destinationFileName As String instance.WriteAnnotations(annotations, destinationFileName)
public: void WriteAnnotations( IList<PDFAnnotation^>^ annotations, String^ destinationFileName )
WriteAnnotations does not clear the existing annotations, only adds the new objects. To replace the annotations in an existing file with new ones, use ClearAnnotations first to delete any existing objects and then WriteAnnotations to add the new objects.
For an example on retrieving annotations of PDF pages, refer to PDFDocumentPage.