GetRangeSupported
Document parts, variable data, document editing
Description
Reports whether a TCallbackByteRangeSource can serve ranged reads
Syntax
Function TCallbackByteRangeSource.GetRangeSupported: Boolean;
Remarks
The result is True only when a read callback is assigned and the total source size is positive
LoadFromRangeSource rejects a source size of zero or less and a missing read callback before it creates the adapter, so both conditions hold for adapters created by that entry point
Return values
True | A read callback is assigned and the total size is greater than zero |
|---|---|
False | No read callback is assigned or the total size is not positive |
See also
ReadRange, GetTotalSize, IsRangeAvailable, GetLastError, LoadFromRangeSource