Partager via


IXRLine::SetX1 (Compact 2013)

3/28/2014

This method sets the x-coordinate of the IXRLine starting point.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetX1(
    float X1
) = 0;

Parameters

  • X1
    [in] A float value that indicates the new x-coordinate for the starting point of this line, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Shapes.Line.X1

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRLine
IXRLine::GetX1