IBasePortionFormat

IBasePortionFormat interface

This class contains the text portion formatting properties. Unlike IPortionFormatEffectiveData, all properties of this class are writeable.

public interface IBasePortionFormat

Properties

NameDescription
AlternativeLanguageId { get; set; }Returns or sets the Id of an alternative language. Read/write String.
ComplexScriptFont { get; set; }Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
EastAsianFont { get; set; }Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
EffectFormat { get; }Returns the text EffectFormat properties. No inheritance applied. Read-only IEffectFormat.
Escapement { get; set; }Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). float.NaN means value is undefined and should be inherited from the Master. Read/write Single.
FillFormat { get; }Returns the text FillFormat properties. No inheritance applied. Read-only IFillFormat.
FontBold { get; set; }Determines whether the font is bold. No inheritance applied. Read/write NullableBool.
FontHeight { get; set; }Returns or sets the font height of a portion. float.NaN means height is undefined and should be inherited from the Master. Read/write Single.
FontItalic { get; set; }Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.
FontUnderline { get; set; }Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.
HighlightColor { get; }Returns the color used to highlight a text. No inheritance applied. Read-only IColorFormat.
IsHardUnderlineFill { get; set; }Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.
IsHardUnderlineLine { get; set; }Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.
KerningMinimalSize { get; set; }Returns or sets the minimal font size, for which kerning should be switched on. float.NaN means value is undefined and should be inherited from the Master. Read/write Single.
Kumimoji { get; set; }Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.
LanguageId { get; set; }Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.
LatinFont { get; set; }Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
LineFormat { get; }Returns the LineFormat properties for text outlining. No inheritance applied. Read-only ILineFormat.
NormaliseHeight { get; set; }Determines whether the height of a text should be normalized. No inheritance applied. Read/write NullableBool.
ProofDisabled { get; set; }Determines whether the text shouldn’t be proofed. No inheritance applied. Read/write NullableBool.
Spacing { get; set; }Returns or sets the intercharacter spacing increment. float.NaN means value is undefined and should be inherited from the Master. Read/write Single.
StrikethroughType { get; set; }Returns or sets the strikethrough type of a text. No inheritance applied. Read/write TextStrikethroughType.
SymbolFont { get; set; }Returns or sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
TextCapType { get; set; }Returns or sets the type of text capitalization. No inheritance applied. Read/write TextCapType.
UnderlineFillFormat { get; }Returns the underline line FillFormat properties. No inheritance applied. Read-only IFillFormat.
UnderlineLineFormat { get; }Returns the LineFormat properties used to outline underline line. No inheritance applied. Read-only ILineFormat.

Remarks

This class is used to return and manipulate text portion formatting properties defined for the particular portion. This means that no inheritance is applied when getting values so for the majority of cases you will get values meaning “undefined”.

In order to get the effective formatting parameter values including inherited you need to use GetEffective method which returns a IPortionFormatEffectiveData instance.

See Also