Share via


IXRScaleTransform::SetCenterY (Windows Embedded CE 6.0)

1/6/2010

This method sets the y-coordinate of the center point of this scale transformation.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCenterY(
    float CenterY
) = 0;

Parameters

  • CenterY
    [in] A float value that indicates the y-coordinate of the center point of this scale transformation.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

You can offset the local origin point (0,0) for a UI element on an IXRCanvas container object by setting the attached properties Canvas.Left and Canvas.Top. However, this is not considered a transformation; the UI object keeps its own local origin point for transformation purposes.

.NET Framework Equivalent

System.Windows.Media.ScaleTransform.CenterY

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRScaleTransform
IXRScaleTransform::GetCenterY