Invalidate Method
Collapse the table of content
Expand the table of content

TextRunCache.Invalidate Method ()

 

Signals the text engine client to invalidate the entire contents of the TextFormatter cache.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public void Invalidate()

Invalidating the entire cache has the effect of emptying the cache. The cache refills with subsequent calls to the System.Windows.Media.TextFormatting APIs.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft