mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-17 15:50:25 +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);
|
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()
|
void LoadPdfJS()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue