メインコンテンツへスキップ
StyleParamsEnum 列挙定数は、フォントスタイルのさまざまなパラメーターを表すために使用されます。これらは、Paragraph オブジェクトの一部のメソッドでマスクとして使用されます。このマスクはこれらの定数の OR 結合であり、これらのメソッドで CharParams オブジェクトのどのプロパティを考慮するかを定義します。これらの定数は、IFontStyle::OverriddenStyleParams プロパティでもマスクとして使用されます。
typedef enum {
 SF_Bold = 1,
 SF_Italic = 2,
 SF_Underlined = 4,
 SF_Strikeout = 8,
 SF_SmallCaps = 16,
 SF_FontSize = 0x10000,
 SF_FontName = 0x20000,
 SF_Scaling = 0x40000,
 SF_Spacing = 0x80000,
 SF_Color = 0x100000,
 SF_BackgroundColor = 0x200000,
 SF_BaseLineRise = 0x400000
} StyleParamsEnum;

要素

名前説明
SF_BackgroundColorIParagraphParams::BackgroundColor プロパティに対応します。
SF_BaseLineRiseICharParams::BaseLine または IFontStyle::BaseLine プロパティに対応します。
SF_BoldICharParams::IsBold または IFontStyle::IsBold プロパティに対応します。
SF_ColorICharParams::Color または IFontStyle::Color プロパティに対応します。
SF_FontNameICharParams::FontName または IFontStyle::FontName プロパティに対応します。
SF_FontSizeICharParams::FontSize または IFontStyle::FontSize プロパティに対応します。
SF_ItalicICharParams::IsItalic または IFontStyle::IsItalic プロパティに対応します。
SF_ScalingICharParams::HorizontalScale または IFontStyle::HorizontalScale プロパティに対応します。
SF_SmallCapsICharParams::IsSmallCaps または IFontStyle::IsSmallCaps プロパティに対応します。
SF_SpacingICharParams::Spacing または IFontStyle::Spacing プロパティに対応します。
SF_StrikeoutICharParams::IsStrikeout または IFontStyle::IsStrikeout プロパティに対応します。
SF_UnderlinedICharParams::IsUnderlined または IFontStyle::IsUnderlined プロパティに対応します。

使用先

IParagraph::SetCharParams IParagraph::NextGroup IFontStyle::OverriddenStyleParams