Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

PRIM_PDF - setTextColorメソッド

Panel
bgColor#2c3c4c

次のエレメントのテキスト色を設定

...

PRIM_PDF (PRIM_PDF) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Color

*Input

RGB 色の値または LANSA 指定の色名

詳細

次のエレメントのテキスト色を設定します。

テキスト色の設定 テキスト色の設定 

     Define_Com Class(#PRIM_PDF) Name(#pdf) Unitm(mm) Pageformat(A4) Pageorientation(Portrait) 

#pdf.start
#pdf.setTextColor Color(Theme500)
#pdf.text Text('Hello world!') Left(10) Top(10)

#pdf.save Filename('myReport.pdf')

参照

すべてのコンポーネント クラス
テクニカルリファレンステクニカル リファレンス