このサイトをご覧になるには、JavaScriptを有効にしてください。

[帳票開発ツール]Stimulsoft レポート&ダッシュボード ユーザーマニュアル

 

条件付き書式を使うと、テキストコンポーネントのフォントサイズを変更することができます。ここでは、テキストコンポーネントの内容のフォントサイズを変更することについて、もう少し詳しく説明します。下図はレポートページです。

 

 

例えば、テキストコンポーネントの内容を奇数列と偶数列で異なるフォントサイズを使用して表示することができます。 これを行うには、データバンドでテキストコンポーネント、例えば {Customers.Country} 式を 持つテキストコンポーネントを選択 し、 条件 エディタを呼び出します そして、例えば次のように条件を指定します。 例えば、「Line % 2 == 1」のように条件を指定します。書式オプション、ここでは「フォントサイズ」を変更します。下図は Conditions エディタのダイアログボックスです。

 

 

After making changes in the report template, the report engine will perform conditional formatting of text components, according to the specified parameters. In this case, the font size of the selected text component will be changed, depending on the condition. The picture below shows the page of the rendered report with conditional formatting:

 

 

As can be seen in the picture above, the text components of the Country column, located in the even and odd lines, use different font sizes.