PDFDocMergeXFDF Method (String, MergeXFDFOptions) |
Merge existing form and annotation data with those imported from the XFDF file. It will
replace annotations from pdfdocument with matching annotations from XFDF.
In order for the annotations to be considered matching, "name" of the xfdf annotation needs to match "NM"
of that in pdf.
XFDF annotations that don't have a match in the pdf document will be added.
For regular xfdf files, no deletions will be made
This method also supports command form of xfdf, for those files, deletions will be performed for
annotations in "delete" section
Since this method avoids updating annotations unnecessarily it works well with incremental save.
Note: This method is suitable for realtime collaboration.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void MergeXFDF(
string xfdf,
MergeXFDFOptions options
)
Public Sub MergeXFDF (
xfdf As String,
options As MergeXFDFOptions
)
public:
virtual void MergeXFDF(
[InAttribute] String^ xfdf,
[InAttribute] MergeXFDFOptions^ options
) sealed
function MergeXFDF(xfdf, options);
Parameters
- xfdf
- Type: SystemString
string containing the content of the xfdf file or the path to the xfdf file - options
- Type: pdftron.PDFMergeXFDFOptions
finer control parameters (see MergeXFDFOptions for more details)
See Also