![]() |
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 : ClearAnnotations Method |
public void ClearAnnotations( string destinationFileName )
'Declaration
Public Sub ClearAnnotations( _ ByVal destinationFileName As String _ )
'Usage
Dim instance As PDFFile Dim destinationFileName As String instance.ClearAnnotations(destinationFileName)
public: void ClearAnnotations( 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.