Skip to content

Invoking zoom programmatically under UWP #2538

@nirdil

Description

@nirdil

I'm looking for a way to invoke zoom on a webview2 programmatically.

Under UWP webview2 does not expose the CoreWebView2Controller.ZoomFactor function.

I tried to use the DevTools Protocol to invoke the zoom using the setPageScaleFactor function, which works well in terms of zooming but I can't get the scrollbars to appear on zooming in. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions