Hello Team,
Can you please let me know how to solve the problem with rendering in 4-page pdf document - viewer is displaying strange empty squares where should be no content?
<%= Html.ViewerClientCode().EnableRightClickMenu()
.TargetElementSelector("#test
")
.Stream(ms, id.ToString(), extension, name, false, null)
//.FilePath(“Alpine Due Diligence.pdf”)
.EnableRightClickMenu(false)
.ShowThumbnails(false)
.OpenThumbnails(false)
//.Layout(ViewerMode.OnePageInRow)
.ZoomToFitWidth()
.Width(970)
.Height(800)
.DownloadPdfFileIfPossible(false)
//.PreloadPagesCount(1)
.UseHtmlBasedEngine(true)
.ShowDownload(false)
//.ShowPrint(false)
.SupportTextSelection(false)
//.Watermark(“test watermark”)
.ShowFolderBrowser(false)
.ShowHeader(false)
.ShowPaging(false)
//.PreloadPagesCount(1)
.ShowViewerStyleControl(false)
.UseVirtualScrolling(false)
%>
Thank you!
Hello Deric,
Hello Pavel,
Please find the attached document that has a problem.
I have tested with 2.11.1 & 2.14.0 version of Viewer.dll with same results. Same happens in Chrome 44.0 & IE11. Net version is 4.5.
From log.txt:
Local time:08/25/2015 11:45:08, UTC time:08/25/2015 09:45:08 Starting saving a stream to 51d1c356-488c-4be8-a8c3-cbf226a02d97
Local time:08/25/2015 11:45:08, UTC time:08/25/2015 09:45:08 Result file path: temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Local time:08/25/2015 11:45:08, UTC time:08/25/2015 09:45:08 Stream downloaded successfully
Local time:08/25/2015 11:45:11, UTC time:08/25/2015 09:45:11 ViewDocument
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Local time:08/25/2015 11:45:14, UTC time:08/25/2015 09:45:14 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:1_0.png
Local time:08/25/2015 11:45:14, UTC time:08/25/2015 09:45:14 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:220c8966-0000-0000-0000-000000000000.woff
Local time:08/25/2015 11:45:15, UTC time:08/25/2015 09:45:15 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:1861b106-0000-0000-0000-000000000000.woff
Local time:08/25/2015 11:45:16, UTC time:08/25/2015 09:45:16 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:2_1.png
Local time:08/25/2015 11:45:16, UTC time:08/25/2015 09:45:16 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:18a17e7b-0000-0000-0000-000000000000.woff
Local time:08/25/2015 11:45:17, UTC time:08/25/2015 09:45:17 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:d893e165-0000-0000-0000-000000000000.woff
Local time:08/25/2015 11:45:22, UTC time:08/25/2015 09:45:22 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:3_2.png
Local time:08/25/2015 11:45:23, UTC time:08/25/2015 09:45:23 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:73b1eda7-0000-0000-0000-000000000000.woff
Local time:08/25/2015 11:45:23, UTC time:08/25/2015 09:45:23 GetResourceForHtml
Root Storage Path:D:/Temp/
Processing Folder Path:
Document Path:temp\S\51d1c356-488c-4be8-a8c3-cbf226a02d97.pdf
Resource Path:bf092e84-0000-0000-0000-000000000000.woff
Hello Denic,
Thank you, Pavel!
You are welcome.