次の方法で共有


IXRApplication::GetLayoutInformation (Compact 2013)

3/28/2014

This method retrieves additional information about the layout of an object in your application.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetLayoutInformation(
  __out IXRLayoutInformation** ppLayoutInformation
) = 0;

Parameters

  • ppLayoutInformation
    [out] Pointer to a pointer to an IXRLayoutInformation object that has methods that you can use to obtain information about the physical location of objects in your application.

Return Value

An HRESULT returns S_OK if successful; otherwise, returns a non-zero error code.

Remarks

After you use this method to obtain a reference to the IXRLayoutInformation object for your application, you can use the IXRLayoutInformation::GetLayoutClip and IXRLayoutInformation::GetLayoutSlot methods to obtain the visible region and bounding box of the UI object that you pass into the methods.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRApplication