Edit

Share via


TextRunCache.Invalidate Method

Definition

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

public:
 void Invalidate();
public void Invalidate ();
member this.Invalidate : unit -> unit
Public Sub Invalidate ()

Remarks

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

Applies to