mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-12-16 23:29:47 +00:00
Test
This commit is contained in:
parent
af591afcb7
commit
b4b47dcf71
1 changed files with 3 additions and 2 deletions
|
|
@ -66,8 +66,9 @@ namespace AideDeJeu.iOS
|
||||||
//Control.ScalesPageToFit = true;
|
//Control.ScalesPageToFit = true;
|
||||||
|
|
||||||
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