Forge Viewer无法显示PDF [英] Forge Viewer fails to dispaly PDF's

查看:91
本文介绍了Forge Viewer无法显示PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用示例C#SDK来使用Forge Derivative服务和查看器.我已经成功使用了任何文档,但没有使用PDF.我尝试过的所有PDF都已成功翻译,但是在尝试查看时会出现以下错误.

I am using the sample C# SDK for using the Forge Derivative service and viewer. I've been successful with using any document but not with PDF. All the PDF's I've tried, translated successfully but it gives the following error when attempting to view.

Failed to load resource: the server responded with a status of 404 (Not Found) three.min.css

Uncaught TypeError: Cannot read property 'paperUnits' of undefined

推荐答案

我自己碰到了这个问题.请尝试使用ViewingApplication对象而不是基本查看器进行初始化. Basic Viewer中显示的方式需要清单中的其他配置值. https://developer.autodesk.com/zh-CN/docs/viewer/v2/tutorials/basic-application/

I just bumped into this myself. Please try with ViewingApplication object for initialization instead of basic viewer. The way shown in Basic Viewer requires additional configuration values from the manifest. https://developer.autodesk.com/en/docs/viewer/v2/tutorials/basic-application/

这篇关于Forge Viewer无法显示PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆