Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - PDF Ink Signature #4988

Open
Tanmaya-Code-Library opened this issue Nov 21, 2024 · 1 comment
Open

Feature Request - PDF Ink Signature #4988

Tanmaya-Code-Library opened this issue Nov 21, 2024 · 1 comment

Comments

@Tanmaya-Code-Library
Copy link

Hi Team,

I think CEFShARP does not support the chromium feature "PDF Ink Signatures". This feature setting is available in chromium setting at chrome://flags/#pdf-ink2.

If the Chromium feature "PDF Ink Signatures" is not supported CEFSHARP, kindly include this feature. If this feature is available in CEFSHAP, please provide the code snippet for the same.

I tried by using the following code. It did not work.

cefSettings.CefCommandLineArgs.Add("enable-features", "PDFAnnotations,Ink");

@mitchcapper
Copy link
Contributor

You need to have the ENABLE_INK define during building cef which it does not by default. CefSharp uses the official spotify builds so until it become default to on there you will need to have custom compiles. This would be considered beyond scope for now.

the flag does exist right now (and you can set flags in cefsharp) but:

  • wpf - hand always appears on pdf does not work likely as is offscreen so inking may just not be supported
  • wpf.hwndhost - show correct cursor (colored dot etc) but drawing does not show anything on pdf, likely would work with correct build flag.
  • winforms - doesn't work with highdpi for me so couldn't test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants