THotPDF.GetLoadedSourceFileSize Method
Returns the original byte size of the loaded PDF source file or stream
Declaration
function GetLoadedSourceFileSize: Int64;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an Int64 value
Usage notes
- This value reflects the size of the source data at load time and may differ from the saved output file size
- Can be used for progress display or logging, and can also be combined with GetLoadedMaxObjectNumber to estimate document complexity
- When loading from a stream, the return value is the actual length of the stream, not the disk file size