{"id":10216,"date":"2019-09-13T10:14:03","date_gmt":"2019-09-13T01:14:03","guid":{"rendered":"https:\/\/blog.antenna.co.jp\/ILSoft2\/?p=10216"},"modified":"2019-09-13T10:14:03","modified_gmt":"2019-09-13T01:14:03","slug":"pdf-viewer-sdk%e3%81%a7%e7%b0%a1%e5%8d%98pdf%e3%83%93%e3%83%a5%e3%83%bc%e3%82%a2%e4%bd%9c%e6%88%90%ef%bc%88%ef%bc%95%ef%bc%89","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/10216\/","title":{"rendered":"PDF Viewer SDK\u3067\u7c21\u5358PDF\u30d3\u30e5\u30fc\u30a2\u4f5c\u6210\uff08\uff15\uff09"},"content":{"rendered":"<p><strong>\uff5e\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\uff5e<\/strong><\/p>\n<p>\u4ee5\u524d\u306e <a href=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/2596\" target=\"_blank\">\u8a18\u4e8b<\/a> \u3067\u3001PDF Viewer SDK \u306e PDF \u8868\u793a\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u4e8c\u3064\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u540c\u671f\u3092\u53d6\u308b\u305f\u3081\u306b\u3001\u4e00\u65b9\u3067\u30da\u30fc\u30b8\u3092\u79fb\u52d5\u3057\u305f\u3089\u3082\u3046\u4e00\u65b9\u3082\u540c\u3058\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u6559\u3048\u3066\u307b\u3057\u3044\u3068\u3044\u3046\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u9802\u304d\u307e\u3057\u305f\u306e\u3067\u3001\u672c\u65e5\u306f\u753b\u9762\u64cd\u4f5c\u3092\u4ea4\u3048\u3066\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001Visual Studio \u306e\u30d5\u30a9\u30fc\u30e0\u30c7\u30b6\u30a4\u30ca\u4e0a\u3067 PDFPageViewCtrl \u3092\u9078\u629e\u3057\u3066\u304b\u3089\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u30bf\u30d6\u3092\u958b\u304d\u3001\u30bf\u30d6\u306e\u4e0a\u90e8\u306b\u3042\u308b\u300c\u30a4\u30d9\u30f3\u30c8\u300d\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10217\" src=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig1-1024x730.png\" alt=\"pdfviwer01\" width=\"625\" height=\"446\" \/><\/a><\/p>\n<p>\u3059\u308b\u3068\u5404\u7a2e\u30a4\u30d9\u30f3\u30c8\u304c\u4e26\u3093\u3060\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002PDF \u30d3\u30e5\u30fc\u30a2\u30fc\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u7279\u6709\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u300c\u305d\u306e\u4ed6\u300d\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-10218\" src=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig2-1024x730.png\" alt=\"pdfviwer02\" width=\"625\" height=\"446\" \/><\/a><\/p>\n<p>\u3053\u3053\u3067\u306f\u3001DoAction \u30a4\u30d9\u30f3\u30c8\u3092\u5b9f\u88c5\u3057\u3066\u307f\u307e\u3059\u3002\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u30ea\u30f3\u30af\u6ce8\u91c8\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u3068\u304d\u306b\u767a\u751f\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u30d7\u30ed\u30d1\u30c6\u30a3\u306e DoAction \u30a4\u30d9\u30f3\u30c8\u53f3\u306e\u7a7a\u6b04\u90e8\u5206\u3092\u30c0\u30d6\u30eb\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002\u3059\u308b\u3068\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u306b\u753b\u9762\u9077\u79fb\u3057\u3001\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306e\u96db\u5f62\u30b3\u30fc\u30c9\u304c\u633f\u5165\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre> private int pdfPageViewCtrl1_DoAction(AvsActionType actionType, string data)\n {\n        return default(int);\n }<\/pre>\n<p>\u300c\u30d7\u30ed\u30d1\u30c6\u30a3\u300d\u30bf\u30d6\u3092\u78ba\u8a8d\u3057\u3066\u3044\u305f\u3060\u304f\u3068\u3001DoAction \u30a4\u30d9\u30f3\u30c8\u306b\u306f\u633f\u5165\u3055\u308c\u305f\u30e1\u30bd\u30c3\u30c9\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10219\" src=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig3.png\" alt=\"pdfviwer03\" width=\"487\" height=\"523\" \/><\/a><br \/>\n\u3053\u308c\u3067\u6e96\u5099\u306f\u3067\u304d\u307e\u3057\u305f\u3002\u3042\u3068\u306f\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306e\u96db\u5f62\u3092\u5b9f\u88c5\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n<p>\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306b\u306f\u3001\u30a4\u30d9\u30f3\u30c8\u306b\u5fdc\u3058\u3066\u4e88\u3081\u5b9a\u7fa9\u3055\u308c\u305f\u5f15\u6570\u304c\u3042\u308a\u3001\u30a4\u30d9\u30f3\u30c8\u306b\u95a2\u3059\u308b\u5fc5\u8981\u306a\u60c5\u5831\u304c\u6e21\u3055\u308c\u307e\u3059\u3002DoAction \u30a4\u30d9\u30f3\u30c8\u3067\u306f\u767a\u751f\u3057\u305f\u30a2\u30af\u30b7\u30e7\u30f3\u306e\u30bf\u30a4\u30d7\u3001\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u305f\u5834\u5408\u306e URL \u7b49\u306e\u30c7\u30fc\u30bf\u304c\u6e21\u3055\u308c\u307e\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306f\u3053\u308c\u3089\u306e\u30c7\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u5fc5\u8981\u306a\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u3001\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n\u300c\u3044\u3044\u3048\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u5834\u5408\u306f\u3001\u305d\u306e\u5f8c\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u5b9f\u884c\u3092\u884c\u308f\u306a\u3044\u3088\u3046\u306b\u623b\u308a\u5024 0 \u3092\u8fd4\u3059\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre>private int pdfPageViewCtrl1_DoAction(AvsActionType actionType, string data)\n{\n     if (actionType == AvsActionType.AGAT_LAUNCH \n|| actionType == AvsActionType.AGAT_URI \n|| actionType == AvsActionType.AGAT_INTERNALFILE)\n     {\n           String msg = String.Format(\"{0}\u3092\u958b\u3053\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3088\u308d\u3057\u3044\u3067\u3059\u304b\uff1f\", data);\n           if (MessageBox.Show(this, msg, \"\", MessageBoxButtons.YesNo) == DialogResult.No)\n                return 0;\n            }\n            return 1;\n      }\n}\n\n<\/pre>\n<p>\u3053\u308c\u3067\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u306e\u5b9f\u88c5\u306f\u7d42\u4e86\u3067\u3059\u3002<\/p>\n<p>\u3042\u3068\u306f\u3053\u306e\u30b3\u30fc\u30c9\u3092\u30d3\u30eb\u30c9\u3057\u3066\u5b9f\u884c\u3059\u308b\u3060\u3051\u3067\u3059\u3002<br \/>\n\u5b9f\u969b\u306b\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3001\u30b3\u30fc\u30c9\u306e\u3068\u304a\u308a\u78ba\u8a8d\u30c0\u30a4\u30a2\u30ed\u30b0\u304c\u958b\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><a href=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig4-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-10223\" src=\"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-content\/uploads\/2019\/09\/fig4-3.png\" alt=\"pdfviewer04-3\" width=\"665\" height=\"426\" \/><\/a><\/p>\n<p>\u4ee5\u4e0a\u3001\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u306e\u5b9f\u88c5\u65b9\u6cd5\u306e\u3054\u7d39\u4ecb\u3067\u3057\u305f\u3002\u3054\u53c2\u8003\u306b\u306a\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n<p>\u8a73\u3057\u3044\u6a5f\u80fd\u306b\u3064\u3044\u3066\u305c\u3072\u88fd\u54c1\u30da\u30fc\u30b8\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n<strong>\u88fd\u54c1\u30da\u30fc\u30b8\uff1a<\/strong><br \/>\n<a href=\"https:\/\/www.antenna.co.jp\/pdfviewersdk\/\" target=\"_blank\">https:\/\/www.antenna.co.jp\/pdfviewersdk\/<\/a><\/p>\n<p><strong>\u8a55\u4fa1\u7248\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\uff1a<\/strong><br \/>\n<a href=\"https:\/\/www.antenna.co.jp\/pdfviewersdk\/trial.html\" target=\"_blank\">https:\/\/www.antenna.co.jp\/pdfviewersdk\/trial.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uff5e\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\uff5e \u4ee5\u524d\u306e \u8a18\u4e8b \u3067\u3001PDF Viewer SDK \u306e PDF \u8868\u793a\u3068\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u4e8c\u3064\u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u306e\u540c\u671f\u3092\u53d6\u308b\u305f\u3081\u306b\u3001\u4e00\u65b9\u3067\u30da\u30fc\u30b8\u3092\u79fb\u52d5\u3057\u305f\u3089\u3082\u3046\u4e00\u65b9\u3082\u540c\u3058\u30da\u30fc\u30b8\u306b\u79fb\u52d5\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u51e6\u7406\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002  [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31,36,11],"tags":[181],"class_list":["post-10216","post","type-post","status-publish","format-standard","hentry","category-oem","category-pdfviewer","category-11","tag-pdf"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/10216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=10216"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/10216\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=10216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=10216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=10216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}