Try exporting the document to a directory and the place html on your form.
<iframe id="pdf" src="<<SystemSettings.InstallPath>>/temp/<<BO.FileName>>" height="800px" width="750px"></iframe>
I have only done this in chrome IE doesn't work very well as it doesn't have its own pdf viewer, not sure about edge. Remove the file once the user has finished.