AppendToString
Document management
Description
Appends the changed objects to a string in an incremental update
The update must be made to the same input file from a previous call to LoadFromFile, LoadFromString or LoadFromStream
The AppendMode parameter can be used to change how the update section is returned. Either form the original input or from the input set by the SetAppendInputFromString function
Syntax
Delphi
Function TPDFlib.AppendToString(AppendMode: Integer): AnsiString;
DLL
const char* DLAppendToString(int InstanceID, int AppendMode);
Parameters
| AppendMode | 0 = Return original source plus the update section 1 = Return just the update section 2 = Return input string set with SetAppendInputFromString plus the update section |
|---|
Return values
Returns the appended objects as an incremental update. Returns an empty string when the update cannot be produced, for example on a version-compliance conflict, or when the process was aborted; inspect LastErrorCode for the reason.
Remarks
The selected font, text size, colours, line settings and content layer are unchanged by the save, so drawing can continue on the selected page without having to choose them again