Using the Right-To-Left Mode in the Viewer
Наши примеры проектов и шаблоны отчётов помогут Вам разобраться в основах работы с нашими продуктами.For right-to-left languages such as Arabic or Hebrew, the viewer interface can be mirrored. This example enables RTL mode.
Viewer setup. Configure the viewer, load the report, assign it to the component, and process the requests or events raised by the UI.
Setting
Viewer setup. Configure the viewer, load the report, assign it to the component, and process the requests or events raised by the UI.
<script setup lang="ts">
import { Viewer, Stimulsoft } from 'stimulsoft-reports-js-vuejs/viewer';
var report = new Stimulsoft.Report.StiReport();
report.loadFile("Reports/BookmarksAndHyperlinks.mrt");
var viewerOptions = new Stimulsoft.Viewer.StiViewerOptions();
viewerOptions.appearance.rightToLeft = true;
</script>
<template>
<Viewer :report="report" :options="viewerOptions" />
</template>Setting
appearance.rightToLeft = true lays the toolbar, panels and scrollbars out right-to-left for a fully localized experience.