IInkPresenterDesktop::SetRootVisual method (inkpresenterdesktop.h)
Sets the connection to the app's DirectComposition visual tree.
Syntax
HRESULT SetRootVisual(
[in] IUnknown *rootVisual,
[in] IUnknown *device
);
Parameters
[in] rootVisual
The app's DirectComposition visual tree.
[in] device
NULL for default ink rendering, or an IDCompositionDevice3 object used to commit all pending DirectComposition commands for custom drying of ink input to the app's DirectComposition visual tree.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | inkpresenterdesktop.h |
See also
Samples
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for