ITextStyle Class

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

NameTypeAccessDescription
auto_kerningAutoKerningr/wGets or sets the auto kerning.
auto_leadingboolr/wGets or sets a value indicating whether [automatic leading].
baseline_shiftdoubler/wThe baseline shift.
contextual_alternatesboolr/wThe contextual alternates used to connect letters together.
discretionary_ligaturesboolr/wThe discretionary ligatures used to connect letters, especially in script fonts.
faux_boldboolr/wGets or sets the faux bold is enabled.
faux_italicboolr/wGets or sets the faux bold is enabled.
fill_colorColorr/wGets or sets the color of the fill.
font_baselineFontBaseliner/wThe font baseline.
font_capsFontCapsr/wThe font caps.
font_indexintrGets the font index.
font_namestringr/wGets or sets the font name.
font_sizedoubler/wGets or sets the size of the font.
fractionsboolr/wThe fractions symbols can be replaced with special glyph.
hindi_numbersboolr/wGets or sets a value indicating whether [hindi numbers].
horizontal_scaledoubler/wThe horizontal scale.
is_standard_vertical_roman_alignment_enabledboolr/wGets or sets the standard vertical Roman alignment.
This based on BaselineDirection resource value applies only when text orientation is TextOrientation.VERTICAL.
kerningintr/wGets or sets the kerning.
language_indexintrGets the language index.
leadingdoubler/wGets or sets the leading.
no_breakboolr/wGets ot sets the no break value.
standard_ligaturesboolr/wThe standard contextual ligatures used to connect letters together.
strikethroughboolr/wGets or sets a value indicating whether [strikethrough].
stroke_colorColorr/wGets or sets the color of the stroke.
trackingintr/wGets or sets the tracking.
underlineboolr/wGets or sets a value indicating whether [underline].
vertical_scaledoubler/wThe vertical scale.

Methods

NameDescription
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:

ParameterTypeDescription
styleITextStyleThe style.

Method: is_equal(style)

 is_equal(style) 

Determines whether the specified style is equal.

Parameters:

ParameterTypeDescription
styleITextStyleThe style.

Returns

TypeDescription
booltrue if the specified style is equal; otherwise, false.