Share via


IXRPathFigure::SetIsClosed (Compact 2013)

3/28/2014

This method specifies whether the first and last segments of a figure connect.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetIsClosed(
    __in bool IsClosed
) = 0;

Parameters

  • IsClosed
    [in] Set true if the first and last segments of a figure connect. Otherwise, false. The default is false.

Return Values

Returns a standard HRESULT value.

Remarks

Setting this property to true connects the endpoint of the last segment defined in the Segments collection to the starting point of the first segment of the figure.

.NET Framework Equivalent

System.Windows.Media.PathFigure.IsClosed

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPathFigure
IXRPathFigure::GetIsClosed