次の方法で共有


IXRScrollViewer::GetViewportWidth (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that contains the horizontal size of the viewable content in this scroll viewer.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetViewportWidth(
    float *pValue
) = 0;

Parameters

  • pValue
    [out] Pointer to a float value that indicates the horizontal size, in pixels, of the viewable content.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.ScrollViewer.ViewportWidth

Requirements

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

See Also

Reference

IXRScrollViewer
IXRScrollViewer::GetExtentWidth