Partager via


IXRMatrix::GetOffsetX (Compact 2013)

3/28/2014

This method retrieves the amount by which this matrix is moved along the x-axis, offset from the upper-left coordinate.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetOffsetX(
    float* pOffsetX
) = 0;

Parameters

  • pOffsetX
    [out] Pointer to a float value that indicates the amount by which this matrix is moved along the x-axis, offset from the upper-left coordinate.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The pOffsetX value affects the displayed position for the UI object that uses this matrix.

.NET Framework Equivalent

System.Windows.Media.Matrix.OffsetX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRMatrix
IXRMatrix::SetOffsetX