|
|
| PDF3DContext (PDFDoc doc) |
| | 带PDF文档对象的构造函数。
|
| |
| | PDF3DContext (PDF3DContext other) |
| | 带另一个3D上下文对象的构造函数。 更多...
|
| |
| PDF3DAnnot | Add3DAnnot (string threeD_file_path, int page_index, RectF rectf, global::System.IntPtr screen_canvas_parent, PDF3DLaunchSetting launch_setting, PDF3DAdvancedSetting advanced_setting) |
| | 向PDF页面添加3D注释。 更多...
|
| |
| PDF3DAnnot | Add3DAnnot (FileReaderCallback threeD_file_read, int page_index, RectF rectf, global::System.IntPtr screen_canvas_parent, PDF3DLaunchSetting launch_setting, PDF3DAdvancedSetting advanced_setting) |
| | 向PDF页面添加3D注释。 更多...
|
| |
| PDF3DAnnotArray | GetPage3DAnnotArray (int page_index) |
| | 根据页面索引获取3D注释实例对象数组。 更多...
|
| |
| void | Invalidate () |
| | 刷新3D对象。 更多...
|
| |
| bool | IsEmpty () |
| | 检查当前对象是否为空。 更多...
|
| |
此类表示3D PDF上下文。在使用此模块中的任何类或方法之前,请确保 Foxit PDF SDK已通过common.Library.Initialize 函数使用包含"3D"模块的密钥 成功初始化。
目前,3D模块仅支持Windows。
- 参见
- foxit.common.Library
◆ PDF3DContext()
| foxit.addon.pdf3d.PDF3DContext.PDF3DContext |
( |
PDF3DContext |
other | ) |
|
|
inline |
◆ Add3DAnnot() [1/2]
向PDF页面添加3D注释。
- 参数
-
| [in] | threeD_file_path | 3D文件的文件路径。目前支持u3d和prc格式。 |
| [in] | page_index | 要添加3D注释的页面索引。有效范围:从0到(page_count-1)。 |
| [in] | rectf | [PDF坐标系统]中新3D注释的矩形区域。 |
| [in] | screen_canvas_parent | 屏幕画布的父窗口句柄。 |
| [in] | launch_setting | 3D启动设置。 |
| [in] | advanced_setting | 3D高级设置。 |
- 返回
- 添加的3D注释对象。
◆ Add3DAnnot() [2/2]
向PDF页面添加3D注释。
- 参数
-
| [in] | threeD_file_read | 3D文件的文件读取器回调。目前支持u3d和prc格式。 详情请参考 foxit.common.fxcrt.FileReaderCallback 。 |
| [in] | page_index | 要添加3D注释的页面索引。有效范围:从0到(page_count-1)。 |
| [in] | rectf | [PDF坐标系统]中新3D注释的矩形区域。 |
| [in] | screen_canvas_parent | 屏幕画布的父窗口句柄。 |
| [in] | launch_setting | 3D启动设置。 |
| [in] | advanced_setting | 3D高级设置。 |
- 返回
- 添加的3D注释对象。
◆ GetPage3DAnnotArray()
| PDF3DAnnotArray foxit.addon.pdf3d.PDF3DContext.GetPage3DAnnotArray |
( |
int |
page_index | ) |
|
|
inline |
根据页面索引获取3D注释实例对象数组。
- 参数
-
- 返回
- 3D注释实例对象数组。
◆ Invalidate()
| void foxit.addon.pdf3d.PDF3DContext.Invalidate |
( |
| ) |
|
|
inline |
刷新3D对象。
要动态显示3D效果,需要基于循环调用修改接口。
- 返回
- 无。
◆ IsEmpty()
| bool foxit.addon.pdf3d.PDF3DContext.IsEmpty |
( |
| ) |
|
|
inline |
检查当前对象是否为空。
当当前对象为空时,意味着当前对象无用。
- 返回
- true表示当前对象为空,false表示不为空。