{"id":255,"date":"2023-07-10T13:53:29","date_gmt":"2023-07-10T05:53:29","guid":{"rendered":""},"modified":"2025-01-02T17:03:47","modified_gmt":"2025-01-02T09:03:47","slug":"article-slug-275","status":"publish","type":"post","link":"https:\/\/support.fuxinsoft.cn\/?p=255","title":{"rendered":"\u5173\u4e8e\u7b7e\u6279\u610f\u89c1\u6743\u9650\u8fd9\u5757\uff0c\u662f\u5426\u53ef\u4ee5\u505a\u5230\u63a7\u5236\u90e8\u5206\u610f\u89c1\u8ba9\u5f53\u524d\u4eba\u4e0d\u80fd\u64cd\u4f5c\uff1b\u662f\u5426\u5177\u6709\u5168\u5c40\u53d8\u91cf\u53ef\u4ee5\u9501\u4f4f\u6574\u4e2a\u7b7e\u6279\u63d2\u4ef6\uff0c\u53ea\u80fd\u67e5\u770b\u610f\u89c1\uff0c\u4f46\u662f\u4e0d\u80fd\u505a\u4efb\u4f55\u64cd\u4f5c\uff1f"},"content":{"rendered":"<p style=\"margin-top: 10px; margin-bottom: 0px; padding: 0px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);\">&nbsp;\u53ef\u4ee5\u5b9e\u73b0\uff0csetFlags()\u63a5\u53e3\u53ef\u4ee5\u5206\u522b\u8bbe\u7f6e\u6bcf\u4e2a\u6ce8\u91ca\u7684\u6807\u8bc6\u4fe1\u606f\uff0c\u5305\u62ec\u53ea\u8bfb\u3001\u662f\u5426\u5141\u8bb8\u6ce8\u91ca\u4f4d\u7f6e\/\u5927\u5c0f\u88ab\u6539\u53d8\u3001\u662f\u5426\u5141\u8bb8\u4fee\u6539\u6ce8\u91ca\u5185\u5bb9\u7b49\u3002\u53ef\u4ee5\u53c2\u8003SDK\u5185\u7f6eDemo\u4e2d\u7684default_annot_config\u8fd9\u4e2ademo\uff0c\u5176\u4e2ddefaultAnnotConfig\u53ea\u80fd\u8bbe\u7f6e\u6ce8\u91ca\u7684\u4e00\u4e9b\u57fa\u672c\u5c5e\u6027\uff0c\u5982\uff1a\u6ce8\u91ca\u7c7b\u578b\u3001\u4f4d\u7f6e\u3001\u8fb9\u6846\u5c5e\u6027\u3001\u6ce8\u91ca\u5185\u5bb9\u5c5e\u6027\u7b49\uff0c\u5177\u4f53\u53ef\u53c2\u8003addAnnot()\u63a5\u53e3\u7684\u53c2\u6570\u4ecb\u7ecd\u3002\u9501\u5b9a\u6ce8\u91ca\u7b49\u5c5e\u6027\uff0c\u4ece\u903b\u8f91\u5c42\u9762\u8bb2\u662f\u53ea\u80fd\u5728\u6dfb\u52a0\u6ce8\u91ca\u540e\u624d\u53ef\u4ee5\u8bbe\u7f6e\uff0c\u9501\u5b9a\u6ce8\u91ca\u7684flag\u662f\uff1a132\uff1b<br \/>\u9501\u5b9a\u6ce8\u91ca\u7684\u64cd\u4f5c\u53ef\u4ee5\u653e\u5728\u6ce8\u91ca\u7684\u76d1\u542c\u4e8b\u4ef6\u4e2d\uff1a<\/p>\n<table cellpadding=\"0\" cellspacing=\"0\" width=\"1940\" height=\"NaN\" style=\"width: 920px;\">\n<tbody style=\"border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit;\">\n<tr style=\"border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit;\" class=\"firstRow\">\n<td class=\"code\" style=\"border-width: 0px; border-style: initial; border-color: initial; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; overflow: visible; border-radius: 0px; inset: auto; float: none; line-height: 20px; margin: 0px; outline: 0px; padding: 0px 0px 0px 15px; position: static; vertical-align: baseline; box-sizing: content-box; min-height: inherit;\" width=\"1925\" height=\"NaN\">\n<div class=\"line number1 index0 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; white-space: nowrap;\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">pdfui.addUIEventListener(UIExtension.UIEvents.appendCommentListComment,&nbsp;<\/code><code class=\"js keyword\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; font-weight: bold !important; color: rgb(51, 102, 153) !important;\">function<\/code><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">(commentCardComponent, annot) {<\/code><\/div>\n<div class=\"line number2 index1 alt1\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; white-space: nowrap;\"><code class=\"js spaces\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit;\">&nbsp;<\/code><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">annot.setFlags(132);<\/code><code class=\"js comments\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 130, 0) !important;\">\/\/Locked<\/code><\/div>\n<div class=\"line number3 index2 alt2\" data-bidi-marker=\"true\" style=\"margin: 0px; padding: 0px 1em 0px 0em; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; outline: 0px; overflow: visible; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; white-space: nowrap;\"><code class=\"js plain\" style=\"font-family: Consolas, &quot;Bitstream Vera Sans Mono&quot;, &quot;Courier New&quot;, Courier, monospace; border-radius: 0px; background-image: none; background-position: initial; background-size: initial; background-repeat: initial; background-attachment: initial; background-origin: initial; background-clip: initial; border: 0px; inset: auto; float: none; height: auto; line-height: 20px; margin: 0px; outline: 0px; overflow: visible; padding: 0px; position: static; vertical-align: baseline; width: auto; box-sizing: content-box; min-height: inherit; color: rgb(0, 0, 0) !important;\">});<\/code><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 10px; margin-bottom: 0px; padding: 0px; color: rgb(23, 43, 77); font-family: -apple-system, BlinkMacSystemFont, &quot;Segoe UI&quot;, Roboto, Oxygen, Ubuntu, &quot;Fira Sans&quot;, &quot;Droid Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif; text-wrap: wrap; background-color: rgb(255, 255, 255);\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp;\u53ef\u4ee5\u5b9e\u73b0\uff0csetFlags()\u63a5\u53e3\u53ef\u4ee5\u5206\u522b\u8bbe\u7f6e\u6bcf\u4e2a\u6ce8\u91ca\u7684\u6807\u8bc6\u4fe1\u606f\uff0c\u5305\u62ec\u53ea\u8bfb\u3001\u662f\u5426\u5141\u8bb8\u6ce8\u91ca\u4f4d\u7f6e\/\u5927\u5c0f [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[67],"tags":[],"class_list":["post-255","post","type-post","status-publish","format-standard","hentry","category-websdk"],"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\/255","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\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255"}],"version-history":[{"count":1,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions"}],"predecessor-version":[{"id":3958,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=\/wp\/v2\/posts\/255\/revisions\/3958"}],"wp:attachment":[{"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.fuxinsoft.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}