Skip to content

Point PDF previews directly to REST Api instead of cached files #20

@Hymian7

Description

@Hymian7

See https://stackoverflow.com/questions/68670051/set-webview2-source-directly-to-a-binary-stream for reference

  • Get ByteStream of PDF
  • Encode in Base64
  • Set WebView2 Source to a string containing the Base64 encoded PDF in an iFrame

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions