5.8. tsPostClearUsage

Syntax

Pascal

procedure tsPostClearUsage(PostIndex: tsInt);

C/C++

void tsPostClearUsage(tsInt PostIndex);

Description

If you want to change the usage ranges or free them of some usage restrictions you are able to delete all usage ranges from an selected post processor.

Params

PostIndex

This represents the Index of the post processor you want to delete the usage ranges. Starting with 0. There are also some special values for this parameter. For an complete list look in the Table Post Indizes.

Error Codes

TS_NO_ACTIVE_CONTEXT

If there was no context bound.

TS_NO_ACTIVE_FONT

If there is no font bound.

TS_INVALID_OPERATION

If the bound font isn't an font creator.