Share via


IXRPolygon::SetPoints (Compact 2013)

3/28/2014

This method sets a collection that contains the vertices of a polygon.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPoints(
    __in IXRPointCollection *pPoints
) = 0;

Parameters

  • pPoints
    [in] Contains the points that describe the polygon.

Return Values

Returns a standard HRESULT value.

Remarks

IXRPolygon must contain a minimum of two points to render.

.NET Framework Equivalent

System.Windows.Shapes.Polygon.Points

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPolygon
IXRPointCollection