mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-30 15:06:06 +00:00
Test
This commit is contained in:
parent
af591afcb7
commit
b4b47dcf71
1 changed files with 3 additions and 2 deletions
|
|
@ -67,7 +67,8 @@ namespace AideDeJeu.iOS
|
|||
|
||||
var bytes = File.ReadAllBytes(filePath);
|
||||
|
||||
Control.EvaluateJavascript($"PDFViewerApplication.open(new Uint8Array({bytes}))");
|
||||
var bytesString = string.Join(",", bytes);
|
||||
Control.EvaluateJavascript($"PDFViewerApplication.open(new Uint8Array([{bytesString}]))");
|
||||
}
|
||||
|
||||
void LoadPdfJS()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue