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

查看:29
本文介绍了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/en/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天全站免登陆