# HTML5ビューアオプション

ビューアオプションは、以下のようにビューアランタイム環境を制御するために使用されます。

```javascript
var opt = [];
opt["rendering_mode"] = "svg"; // svgモード
start_ozjs("OZViewer", "http://127.0.0.1:8080/ozrviewer/", opt);
```

#### HTML5ビューアオプション

デフォルト値は**太字**で示されています。 trueまたはfalseはブール値で、その他は文字列で、引用符で囲む必要があります。

| オプション名                           | 値                                             | 説明                                                                                                                                                                  |
| -------------------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| rendering\_mode                  | <p><strong>canvas</strong> </p><p>svg</p>     | <p>レンダリングモードを選択します。</p><p> HTML5ビューアのモバイルUIはSVG形式です。</p>                                                                                                            |
| rendering\_text\_mode            | **blank** word word\_rtl                      | 通常（文字ごとにレンダリング）タイ語、ベンガル語（文ごとにレンダリング）アラビア語（文ごとにレンダリング）                                                                                                               |
| print\_exportfrom                | **viewer** server scheduler                   | スケジューラーまたはサーバーでPDFエクスポートを使用して印刷します。 `allow_exportbind_service=true`を追加します。                                                                                          |
| save\_exportfrom                 | **null** {"pdf":"server"} {"pdf":"scheduler"} | サーバーまたはスケジューラーのエクスポートを使用して埋め込まれたフォントを使用してPDFとして保存します。 埋め込むフォントは、サーバーまたはスケジューラーにインストールする必要があります。 null値は、このオプションを適用しないことを意味します。`allow_exportbind_service=true`を追加します。 |
| iframe\_dialog                   | <p><strong>false</strong> </p><p>true</p>     | iframeでHTML5ビューアを開くときは、親ページでダイアログを開きます。 jquery.js、jquery-ui.css、jquery-ui.jsは親ページに含める必要があります。                                                                       |
| use\_repository\_cache           | <p><strong>false</strong> </p><p>true</p>     | 同じレポートを複数回バインドする場合は、レポートキャッシュを使用し、レポート要求を繰り返さないでください。                                                                                                               |
| use\_mstyle\_pagenumber\_display | **false** / true                              | Web上のモバイルページナビゲーションエミュレーション                                                                                                                                         |
| signpad\_dialog\_fullscreen      | **false** / true                              | サインパッドのサイズをフルスクリーンに設定します。                                                                                                                                           |
| imagepicker\_dialog\_editable    | true or false                                 | imagePickerダイアログを編集可能にします（例：画像の回転）。                                                                                                                                 |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jp.ozeform.io/guide/html5-viewer/html5-viewer-options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
