Share via


IXRLine::SetX2 (Compact 2013)

3/28/2014

This method sets the x-coordinate of the IXRLine endpoint.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetX2(
    float X2
) = 0;

Parameters

  • X2
    [in] A float value that indicates the x-coordinate for the endpoint of this line, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Shapes.Line.X2

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRLine
IXRLine::GetX2