←Select platform

ClearAnnotations Method

Summary

Clears the annotations from an existing PDF file.

Syntax

C#
VB
C++
public void ClearAnnotations( 
   string destinationFileName 
) 
Public Sub ClearAnnotations( _ 
   ByVal destinationFileName As String _ 
)  
public: 
void ClearAnnotations(  
   String^ destinationFileName 
)  

Parameters

destinationFileName
Name of the destination PDF file to be created. If the value of this parameter is null then the filename set in FileName will be updated.

Remarks

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.

Requirements

Target Platforms

See Also

Reference

PDFFile Class

PDFFile Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Pdf Assembly