public void WriteAnnotations(
IList<PDFAnnotation> annotations,
string destinationFileName
)
Public Sub WriteAnnotations( _
ByVal annotations As IList(Of PDFAnnotation), _
ByVal destinationFileName As String _
)
public void writeAnnotations(
java.util.List<PDFAnnotation> annotations,
java.lang.String destinationFileName
);
public:
void WriteAnnotations(
IList<PDFAnnotation^>^ annotations,
String^ destinationFileName
)
annotations
A list of PDFAnnotation objects to write. This must not be null and must be a list of 1 or more items. An empty list (count is zero) will throw an exception.
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.
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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document