{"id":7842,"date":"2026-03-16T15:17:20","date_gmt":"2026-03-16T07:17:20","guid":{"rendered":"https:\/\/support.fuxinsoft.cn\/?p=7842"},"modified":"2026-03-19T16:15:48","modified_gmt":"2026-03-19T08:15:48","slug":"pdf-websdk-%e5%ae%9e%e6%88%98%ef%bc%9a%e9%99%90%e5%88%b6%e6%9f%90%e4%b8%80%e7%a7%8d%e6%b3%a8%e9%87%8a%e4%bb%85%e5%8f%af%e7%a7%bb%e5%8a%a8%e4%b8%8d%e5%8f%af%e8%b0%83%e6%95%b4%e5%a4%a7%e5%b0%8f","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=7842","title":{"rendered":"PDF WebSDK \u5b9e\u6218\uff1a\u9650\u5236\u67d0\u4e00\u79cd\u6ce8\u91ca\u4ec5\u53ef\u79fb\u52a8\u4e0d\u53ef\u8c03\u6574\u5927\u5c0f"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"7842\" class=\"elementor elementor-7842\" data-elementor-post-type=\"post\">\n\t\t\t\t<div class=\"elementor-element elementor-element-580ec9fc e-flex e-con-boxed e-con e-parent\" data-id=\"580ec9fc\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-2662d976 elementor-widget elementor-widget-text-editor\" data-id=\"2662d976\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\n<p>\u5728 PDF \u5728\u7ebf\u7f16\u8f91\u573a\u666f\u4e2d\uff0c\u6ce8\u91ca\u6743\u9650\u7684\u7cbe\u7ec6\u5316\u63a7\u5236\u662f\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u901a\u8fc7 PDF WebSDK \u914d\u7f6e\u7279\u5b9a\u7c7b\u578b\u6ce8\u91ca\uff08\u4ee5 Stamp \u5370\u7ae0\u4e3a\u4f8b\uff09\u7684\u64cd\u4f5c\u6743\u9650\uff0c\u5b9e\u73b0 \u201c\u4ec5\u53ef\u79fb\u52a8\u3001\u4e0d\u53ef\u8c03\u6574\u5927\u5c0f\u201d \u7684\u5b9a\u5236\u5316\u9700\u6c42\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u9700\u6c42\u80cc\u666f<\/h2>\n\n<p>\u5728 PDF \u6279\u6ce8\u3001\u7b7e\u7ae0\u7b49\u4e1a\u52a1\u573a\u666f\u4e2d\uff0cStamp\uff08\u5370\u7ae0\uff09\u7c7b\u6ce8\u91ca\u901a\u5e38\u4f5c\u4e3a\u56fa\u5b9a\u6837\u5f0f\u7684\u6807\u8bc6\uff0c\u7528\u6237\u4ec5\u9700\u8c03\u6574\u5176\u4f4d\u7f6e\uff0c\u800c\u4e0d\u5e0c\u671b\u968f\u610f\u4fee\u6539\u5927\u5c0f\uff08\u907f\u514d\u5370\u7ae0\u53d8\u5f62\u3001\u6bd4\u4f8b\u5931\u8c03\uff09\u3002\u901a\u8fc7 WebSDK \u7684\u6ce8\u91ca\u7ec4\u4ef6\u914d\u7f6e\u80fd\u529b\uff0c\u53ef\u7cbe\u51c6\u63a7\u5236\u8be5\u7c7b\u578b\u6ce8\u91ca\u7684\u64cd\u4f5c\u6743\u9650\u3002<\/p>\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u6838\u5fc3\u5b9e\u73b0\u539f\u7406<\/h2>\n\n<p>PDF WebSDK \u63d0\u4f9b\u4e86getCustomOptionsUpdater\u65b9\u6cd5\u83b7\u53d6\u81ea\u5b9a\u4e49\u9009\u9879\u66f4\u65b0\u5668\uff0c\u901a\u8fc7\u91cd\u5199updateGetAnnotComponentConfig\u56de\u8c03\u51fd\u6570\uff0c\u53ef\u62e6\u622a\u4e0d\u540c\u7c7b\u578b\u6ce8\u91ca\u7684\u7ec4\u4ef6\u914d\u7f6e\uff0c\u9488\u5bf9\u6307\u5b9a\u6ce8\u91ca\u7c7b\u578b\u8fd4\u56de\u81ea\u5b9a\u4e49\u7684\u64cd\u4f5c\u6743\u9650\u53c2\u6570\uff1a<\/p>\n\n<ul class=\"wp-block-list\">\n<li>moveable: true\uff1a\u5141\u8bb8\u6ce8\u91ca\u88ab\u79fb\u52a8<\/li>\n\n<li>resizable: false\uff1a\u7981\u7528\u6ce8\u91ca\u8c03\u6574\u5927\u5c0f\u529f\u80fd<\/li>\n\n<li>rotatable: false\uff1a\u7981\u7528\u6ce8\u91ca\u65cb\u8f6c\u529f\u80fd<\/li>\n\n<li>\u5176\u4f59\u53c2\u6570\u53ef\u53c2\u8003\uff1a<a href=\"https:\/\/webviewer-demo.foxit.com\/docs\/API_Reference\/html\/class_annot_component_config.html\">SDK\u5f00\u53d1\u8005\u624b\u518c<\/a><\/li>\n<\/ul>\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5b8c\u6574\u5b9e\u73b0\u4ee3\u7801<\/h2>\n\n<pre class=\"wp-block-code\"><code>const updater = await pdfui.getCustomOptionsUpdater();\nupdater.updateGetAnnotComponentConfig(function(annotComponent, props){\n    var annot = annotComponent.getModel();\n    var annotType = annot.getType();\n    if (annotType === 'stamp') {\/\/\u8bbe\u7f6estamp\u7c7b\u578b\n        return {moveable: true, resizable: false}\n    }\n    return {}\n});<\/code><\/pre>\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\"><\/figure>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-8a2ed80 e-flex e-con-boxed e-con e-parent\" data-id=\"8a2ed80\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-be891f0 elementor-widget elementor-widget-button\" data-id=\"be891f0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/developers.fuxinsoft.cn\/free-trial\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">\u514d\u8d39\u83b7\u53d6SDK\u8bd5\u7528<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u5728 PDF \u5728\u7ebf\u7f16\u8f91\u573a\u666f\u4e2d\uff0c\u6ce8\u91ca\u6743\u9650\u7684\u7cbe\u7ec6\u5316\u63a7\u5236\u662f\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u7684\u5173\u952e\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u901a\u8fc7 PDF WebS [&hellip;]<\/p>\n","protected":false},"author":33,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[595,374],"class_list":["post-7842","post","type-post","status-publish","format-standard","hentry","category-websdk","tag-websdk","tag-374"],"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","_links":{"self":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7842"}],"version-history":[{"count":21,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7842\/revisions"}],"predecessor-version":[{"id":8117,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/7842\/revisions\/8117"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}