Share via


CompositionVirtualDrawingSurface.Trim(RectInt32[]) Method

Definition

Clears portions of a virtual drawing surface that were previously defined. Areas that are cleared will be treated as empty once again, and video memory that was previously backing them will be reclaimed.

public:
 virtual void Trim(Platform::Array <RectInt32> ^ rects) = Trim;
void Trim(winrt::array_view <RectInt32> const& rects);
public void Trim(RectInt32[] rects);
function trim(rects)
Public Sub Trim (rects As RectInt32())

Parameters

rects
RectInt32[]

The region of the drawing surface to trim.

Applies to