Share via


IXRMatrix::SetOffsetX (Compact 2013)

3/28/2014

This method sets the amount by which to move this matrix along the x-axis, offset from the upper-left coordinate.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetOffsetX(
    float OffsetX
) = 0;

Parameters

  • OffsetX
    [in] A float value that indicates the amount by which to move this matrix along the x-axis, offset from the upper-left coordinate.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The OffsetX 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::GetOffsetX