PowerTools PlusPak for Windows Forms 8.0J
CaptionFormat コンストラクタ(Int32,Int32,Color,Color,Font,TextHAlign,TextVAlign,TextEffect,CaptionOrientation,TextWrapMode)

キャプション領域のサイズ。
オブジェクトと描画テキストの間隔を表す整数値。
背景色を表すSystem.Drawing.Color
テキストの色を表すSystem.Drawing.Color
キャプションに表示されるテキストに適用するFontオブジェクト。
テキストの水平方向の配置情報を指定するTextHAlign列挙体。
テキストの垂直方向の配置情報を指定するTextVAlign列挙体。
テキストの効果情報を指定するTextEffect列挙体。
テキストの方向を指定するOrientation列挙体。
テキストのラップ方法を示すWrapMode値。
CaptionFormatクラスの新しいインスタンスを初期化します。
構文

パラメータ

size
キャプション領域のサイズ。
spacing
オブジェクトと描画テキストの間隔を表す整数値。
backColor
背景色を表すSystem.Drawing.Color
foreColor
テキストの色を表すSystem.Drawing.Color
font
キャプションに表示されるテキストに適用するFontオブジェクト。
hAlign
テキストの水平方向の配置情報を指定するTextHAlign列挙体。
vAlign
テキストの垂直方向の配置情報を指定するTextVAlign列挙体。
textEffect
テキストの効果情報を指定するTextEffect列挙体。
orientation
テキストの方向を指定するOrientation列挙体。
wrap
テキストのラップ方法を示すWrapMode値。
例外
例外解説
System.ArgumentOutOfRangeExceptionsizeは0以上にする必要があります。
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

CaptionFormat クラス
CaptionFormat メンバ
オーバーロード一覧

Send Feedback