MCPcopy Create free account
hub / github.com/MicrosoftEdge/WebView2Samples / SetBoundsMode

Method SetBoundsMode

SampleApps/WebView2APISample/ViewComponent.cpp:714–722  ·  view source on GitHub ↗

[BoundsMode]

Source from the content-addressed store, hash-verified

712
713//! [BoundsMode]
714void ViewComponent::SetBoundsMode(COREWEBVIEW2_BOUNDS_MODE boundsMode)
715{
716 if (m_controller3)
717 {
718 m_boundsMode = boundsMode;
719 CHECK_FAILURE(m_controller3->put_BoundsMode(boundsMode));
720 ResizeWebView();
721 }
722}
723//! [BoundsMode]
724
725static D2D1_MATRIX_4X4_F Convert3x2MatrixTo4x4Matrix(D2D1_MATRIX_3X2_F* matrix3x2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected