API version 1

- ‐

RW

integer

orient

表示する文字列の角度を示します。

セルに表示する文字列の傾きを-90から90までの角度で指定します。

-90を指定した場合は文字列の左が上になるように垂直方向下向きに表示されます。

90を指定した場合は文字列の左が下になるように垂直方向上向きに表示されます。


初期値はUNSPECIFIEDです。システム規定値は0です。



使用例 CRSダウンロード

Form SpreadStyleLabel_properties {
   x = 0;
   y = 0;
   width = 800;
   height = 600;

   Spread spread1 {
           x = 8;
           y = 8;
           width = 640;
           height = 440;
           maxColumns = 20;
           maxRows = 20;

           rows(2,3).height = 100;

           var s = new SpreadStyleLabel;

           #表示文字列の傾きを90度に設定
           s.orient = 90;

           cell("B2").style = s;
           cell("B2").value = "This is Label Sample";

           var t = new SpreadStyleLabel;
           #ワードラップを行う
           t.wordWrap = true;

           cell("B3").style = t;
           cell("B3").value = "This is Label Sample";
   }
}