DioDocs for PDF
TextFormat プロパティ (WidgetAnnotation)

GrapeCity.Documents.Pdf アセンブリ > GrapeCity.Documents.Pdf.Annotations 名前空間 > WidgetAnnotation クラス : TextFormat プロパティ
この注釈のコンテンツのフォーマットに使用されるフォント、フォントサイズ、および色を指定するGrapeCity.Documents.Text.TextFormatオブジェクトを取得または設定します。

外観ストリームを構築するときは、FontFontSize、およびForeColorのみが使用され、他のすべてのTextFormatプロパティは無視されることに注意してください。 DefaultAppearanceでプロパティが指定されている場合、対応するTextFormatプロパティも無視されることにも注意してください。

このプロパティは非推奨です。代わりにDefaultAppearanceを使用する必要があります。

適切なフォントは、たとえば、GrapeCity.Documents.Text.FontCollection.SystemFontsコレクションのGrapeCity.Documents.Text.FontCollection.FindFamilyNameなどのメソッドを使用して見つけることができます。

シンタックス
'宣言
 
Public Property TextFormat As TextFormat
public TextFormat TextFormat {get; set;}
参照

WidgetAnnotation クラス
WidgetAnnotation メンバ