PDF to byte
I am trying to get a PDF file from the client (using FilePicker, in the Display Form activity) and write it to the server, using WriteFile. But I can't figure how to convert the PDF file to Bytes, which is the input of the activity WriteFile. ReadFileBytes seems the correct activity do to so, but it requires a File Uri, but I only have the data in memory (as far as I know).
Thanks for the help.
0
-
The filepicker returns a list of FileItems. A FileItem has a FileData property, this returns an array of Bytes. 0 -
Thanks for the help. It works great! 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare