Qt PDF C++ Classes

渲染 PDF 文档中的页面。更多

QPdfBookmarkModel

保存 PDF 文档中的链接(锚点)树,如目录

QPdfDocument

加载 PDF 文档并从中渲染页面

QPdfDocumentRenderOptions

保存从 PDF 文档渲染页面的选项

QPdfLink

在页面上的区域(如超链接或搜索结果)和目标(页面、页面上的位置以及查看页面的缩放级别)之间定义链接

QPdfLinkModel

为指定页面包含的每个链接保存几何图形和目标地址

QPdfPageNavigator

PDF 文档内的导航历史

QPdfPageRenderer

封装 PDF 文档页面的渲染

QPdfPageSelector

用于选择 PDF 页面的小工具

QPdfSearchModel

在 PDF 文档中搜索字符串并保存搜索结果

QPdfSelection

定义在 PDF 文档中某页选择的文本范围及其几何边界

QPdfView

PDF 浏览器小工具

详细说明

Qt PDF 模块包含用于渲染 PDF 文档的类和函数。

要链接该模块,请在您的 qmake 项目文件中添加此行:

QT += pdf

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.