Click or drag to resize

FileAttachmentExport Method (String)

The function saves the data referenced by this File Attachment to an external file. If the file is embedded, the function saves the embedded file. If the file is not embedded, the function will copy the external file. If the file is not embedded and the external file can't be found, the function returns false.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public bool Export(
	string save_as
)

Parameters

save_as
Type: SystemString
An optional parameter indicating the filepath and filename where the data should be saved. If this parameter is not specified the function will attempt to save the file using FileSpec.GetFilePath().

Return Value

Type: Boolean
true is the file was saved successfully, false otherwise.
See Also