This class contains the text portion formatting properties. Unlike IPortionFormatEffectiveData, all properties of this class are writeable.
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 PortionFormat#getEffective method
which returns a IPortionFormatEffectiveData instance.
PortionFormat
Name
Description
PortionFormat()
Initializes a new instance of PortionFormat class.
Result:
PortionFormat
getAlternativeLanguageId
Name
Description
getAlternativeLanguageId()
Returns or sets the Id of an alternative language. Read/write String.
Result:
String
getBookmarkId
Name
Description
getBookmarkId()
Returns or sets bookmark identifier. Read/write String.
Result:
String
getComplexScriptFont
Name
Description
getComplexScriptFont()
Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
Gets effective portion formatting data with the inheritance applied.
Result:
PortionFormatEffectiveData
getEscapement
Name
Description
getEscapement()
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 float.
Result:
float
getFillFormat
Name
Description
getFillFormat()
Returns the text FillFormat properties. No inheritance applied. Read-only IFillFormat.
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 float.
Result:
float
getKumimoji
Name
Description
getKumimoji()
Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.
Result:
byte
getLanguageId
Name
Description
getLanguageId()
Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.
Result:
String
getLatinFont
Name
Description
getLatinFont()
Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.
Result:
byte
isHardUnderlineLine
Name
Description
isHardUnderlineLine()
Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.
Result:
byte
setAlternativeLanguageId
Name
Description
setAlternativeLanguageId(String)
Returns or sets the Id of an alternative language. Read/write String.
setBookmarkId
Name
Description
setBookmarkId(String)
Returns or sets bookmark identifier. Read/write String.
Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.
setEscapement
Name
Description
setEscapement(float)
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 float.
setFontBold
Name
Description
setFontBold(byte)
Determines whether the font is bold. No inheritance applied. Read/write NullableBool.
setFontHeight
Name
Description
setFontHeight(float)
Returns or sets the font height of a portion. Float.NaN means height is undefined and should be inherited from the Master. Read/write float.
setFontItalic
Name
Description
setFontItalic(byte)
Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.
setFontUnderline
Name
Description
setFontUnderline(byte)
Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.
setHardUnderlineFill
Name
Description
setHardUnderlineFill(byte)
Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.
setHardUnderlineLine
Name
Description
setHardUnderlineLine(byte)
Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.
Returns or sets the hyperlink defined for mouse over. Read/write IHyperlink.
setKerningMinimalSize
Name
Description
setKerningMinimalSize(float)
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 float.
setKumimoji
Name
Description
setKumimoji(byte)
Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.
setLanguageId
Name
Description
setLanguageId(String)
Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.