Copies the file to a new location.
The new name of the file.
The target directory to copy the file to.
The copied file instance.
Creates a PDF from a dynamic template.
The XML string defining the template.
true
if the operation is successful, otherwise false
.
Gets the creation time of the file in UTC.
Deletes the file.
true
if the file was successfully deleted, otherwise false
.
Indicates whether the file exists.
Gets the file extension.
Gets the size of the file in bytes.
Gets the full name (including path) of the file.
Gets the base64 representation of the file.
true
if the operation is successful, otherwise false
.
Gets the SHA-256 hash of the file.
true
if the operation is successful, otherwise false
.
Gets the last access time of the file in UTC.
Gets the last write time of the file in UTC.
Loads binary data from the file.
The loaded binary data.
Loads metadata from the file.
Optional
metaData: MetaDataToLoadOptional. The metadata to load.
The loaded metadata instance.
Loads text content from the file.
The loaded text content.
Gets the MIME type of the file.
Moves the file to a new location.
The new name of the file.
The target directory to move the file to.
true
if the file was successfully moved, otherwise false
.
Gets the name of the file.
Opens the file as a PDF document.
Optional
password: stringOptional. The password to open the PDF document.
The PDF instance.
Saves base64 content to the file.
The base64 content to save.
true
if the operation is successful, otherwise false
.
Saves binary data to the file.
The binary data to save.
true
if the operation is successful, otherwise false
.
Saves text content to the file.
The text content to save.
true
if the operation is successful, otherwise false
.
Interface representing a file instance with various properties and methods for file manipulation.