Skip to content

How to set the size of a snapshot in GetSnapshot? #40

@veqryn

Description

@veqryn

I am trying to take a snapshot of a WebView, but all my snapshots comes out at 320x5068.
I would like to take a snapshot at 800x800, or at least a width of 800 pixels and I can crop it myself later.

I've tried SetSizeRequest and SetAllocation on the WebView.
I've tried putting the WebView into a Window that has been SetDefaultSize and SetResizable=false.

Nothing seems to work.
Please help me?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions