ITextStyle Class
Contents
[
Hide
]Summary: Interface to work with Text Style
Module: aspose.psd.fileformats.psd.layers.text
Full Name: aspose.psd.fileformats.psd.layers.text.ITextStyle
Aspose.PSD Version: 24.9.0
Properties
Name | Type | Access | Description |
---|---|---|---|
auto_kerning | AutoKerning | r/w | Gets or sets the auto kerning. |
auto_leading | bool | r/w | Gets or sets a value indicating whether [automatic leading]. |
baseline_shift | double | r/w | The baseline shift. |
contextual_alternates | bool | r/w | The contextual alternates used to connect letters together. |
discretionary_ligatures | bool | r/w | The discretionary ligatures used to connect letters, especially in script fonts. |
faux_bold | bool | r/w | Gets or sets the faux bold is enabled. |
faux_italic | bool | r/w | Gets or sets the faux bold is enabled. |
fill_color | Color | r/w | Gets or sets the color of the fill. |
font_baseline | FontBaseline | r/w | The font baseline. |
font_caps | FontCaps | r/w | The font caps. |
font_index | int | r | Gets the font index. |
font_name | string | r/w | Gets or sets the font name. |
font_size | double | r/w | Gets or sets the size of the font. |
fractions | bool | r/w | The fractions symbols can be replaced with special glyph. |
hindi_numbers | bool | r/w | Gets or sets a value indicating whether [hindi numbers]. |
horizontal_scale | double | r/w | The horizontal scale. |
is_standard_vertical_roman_alignment_enabled | bool | r/w | Gets or sets the standard vertical Roman alignment. This based on BaselineDirection resource value applies only when text orientation is TextOrientation.VERTICAL. |
kerning | int | r/w | Gets or sets the kerning. |
language_index | int | r | Gets the language index. |
leading | double | r/w | Gets or sets the leading. |
no_break | bool | r/w | Gets ot sets the no break value. |
standard_ligatures | bool | r/w | The standard contextual ligatures used to connect letters together. |
strikethrough | bool | r/w | Gets or sets a value indicating whether [strikethrough]. |
stroke_color | Color | r/w | Gets or sets the color of the stroke. |
tracking | int | r/w | Gets or sets the tracking. |
underline | bool | r/w | Gets or sets a value indicating whether [underline]. |
vertical_scale | double | r/w | The vertical scale. |
Methods
Name | Description |
---|---|
apply(style) | Applies the specified style. |
is_equal(style) | Determines whether the specified style is equal. |
Method: apply(style)
apply(style)
Applies the specified style.
Parameters:
Parameter | Type | Description |
---|---|---|
style | ITextStyle | The style. |
Method: is_equal(style)
is_equal(style)
Determines whether the specified style is equal.
Parameters:
Parameter | Type | Description |
---|---|---|
style | ITextStyle | The style. |
Returns
Type | Description |
---|---|
bool |