IDynamicRenderer::ReleaseCachedData method (rtscom.h)

Releases specified stroke data from the temporal data held by DynamicRenderer Class.

Syntax

HRESULT ReleaseCachedData(
  ULONG strokeId
);

Parameters

strokeId

The identifier for the stroke.

Return value

For a description of the return values, see RealTimeStylus Classes and Interfaces.

Remarks

This method is used only when the IDynamicRenderer::DataCacheEnabled Property property is set to true.

The IDynamicRenderer::ReleaseCachedData Method method enables you to release the specified stroke data from the temporal data held by the DynamicRenderer Class object.

DynamicRenderer Class strokes can be placed in a cache, so they can be redrawn by calling the IDynamicRenderer::Refresh Method method. After the strokes are collected, release them from the cache by calling the IDynamicRenderer::ReleaseCachedData Method method. Generally, the release occurs in the IStylusPlugin::CustomStylusDataAdded Method method.

strokeId cannot accept a value of less than zero.

Requirements

Requirement Value
Minimum supported client Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header rtscom.h
DLL RTSCom.dll

See also

Draw Method

DynamicRenderer Class

IDynamicRenderer Interface