SaveToFileA

Document management

Περιγραφή

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SaveToFile and string arguments are interpreted using the current SetAnsiMode code page

Αποθηκεύει το επιλεγμένο έγγραφο σε αρχείο στον δίσκο

Syntax

Delphi

Function DLSaveToFileA(InstanceID: Integer; FileName: PAnsiChar): Integer;

DLL

int DLSaveToFileA(int InstanceID, const char * FileName);

Parameters

FileNameΤο όνομα του αρχείου προς δημιουργία

Τιμές επιστροφής

0Το αρχείο δεν μπόρεσε να δημιουργηθεί Το αρχείο δημιουργήθηκε επιτυχώς
1