GetDocumentFileSize

Document properties

Description

Returns the file size of the selected document

The size cannot be determined dynamically - it will only be set directly after a call to LoadFromFile, LoadFromStream, LoadFromString, LoadFromVariant, SaveToFile, SaveToStream, SaveToString or SaveToVariant

Syntax

Delphi

Function TPDFlib.GetDocumentFileSize: Integer;

ActiveX

Function PDFlib::GetDocumentFileSize() As Long

DLL

int DLGetDocumentFileSize(int InstanceID);