THotPDF Custom Stream Filter Registry Methods
Inspects, removes, clears, and measures application-defined stream filters
Deklarace
function UnregisterCustomStreamFilter(
const FilterName: AnsiString): Boolean;
procedure ClearCustomStreamFilters;
function GetCustomStreamFilterCount: Integer;
function GetCustomStreamFilterName(Index: Integer): AnsiString;
function GetCustomStreamFilterStatistics(
out Statistics: THPDFCustomStreamFilterStatistics): Boolean;
procedure ResetCustomStreamFilterStatistics;
Parametry
FilterName se porovnává bez ohledu na velikost písmen a bez úvodního lomítka, Index adresuje stabilní aktuální pořadí registru a Statistics dostane konzistentní snapshot
Návratová hodnota
Unregister vrací, zda název existoval, count vrací aktuální počet registrací, name vrací normalizovaný název a statistics vrací, zda existují registrace nebo pokusy
Poznámky k použití
- An invalid name index raises
EArgumentOutOfRangeException - Odebraná rozhraní se uvolní až po uvolnění zámku registru
- Clearing registrations does not reset telemetry
- Resetting telemetry does not clear registrations