Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IDirectManipulationViewport::SetViewportOptions method (directmanipulation.h)
Sets how the viewport handles input and output.
Calling this method overrides all settings previously specified with SetUpdateMode or SetInputMode.
Syntax
HRESULT SetViewportOptions(
[in] DIRECTMANIPULATION_VIEWPORT_OPTIONS options
);
Parameters
[in] options
One or more of the values from DIRECTMANIPULATION_VIEWPORT_OPTIONS.
Return value
If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Calling this method with DIRECTMANIPULATION_INPUT_MODE_MANUAL set is similar to calling SetViewportOptions(DIRECTMANIPULATION_VIEWPORT_OPTIONS_INPUT).
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 |
See also
Feedback
Was this page helpful?
