IDirectManipulationContent::SetContentRect method (directmanipulation.h)
Specifies the bounding rectangle of the content, relative to its viewport.
Syntax
HRESULT SetContentRect(
[in] const RECT *contentSize
);
Parameters
[in] contentSize
The bounding rectangle of the content.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The default bounding rectangle is (-FLT_MAX, -FLT_MAX, FLT_MAX, FLT_MAX).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | directmanipulation.h |