---
Product: Aspose.Slides
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/slides/java/IPortionFormat
---

# IPortionFormat

## Overview

`IPortionFormat` is a interface in Aspose.Slides FOSS for Java.
Inherits from: `IBasePortionFormat`, `IHyperlinkContainer`.

Represents formatting properties of a text portion with no inheritance applied.

This interface provides 48 methods for working with IPortionFormat objects in Java programs.
Available methods include: `getAlternativeLanguageId`, `getComplexScriptFont`, `getEastAsianFont`, `getEffectFormat`, `getEscapement`, `getFillFormat`, `getFontBold`, `getFontHeight`, `getFontItalic`, `getFontUnderline`, `getHighlightColor`, `getIsHardUnderlineFill`, and 36 additional methods.
All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.
Properties: `alternativeLanguageId`, `complexScriptFont`, `eastAsianFont`, `effectFormat`, `escapement`, `fillFormat`, and 21 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `lineFormat` | `ILineFormat` | Read | Returns the LineFormat properties for text outlining. |
| `fillFormat` | `IFillFormat` | Read | Returns the text FillFormat properties. |
| `effectFormat` | `IEffectFormat` | Read | Returns the text EffectFormat properties. |
| `highlightColor` | `IColorFormat` | Read | Returns the color used to highlight a text. |
| `underlineLineFormat` | `ILineFormat` | Read | Returns the LineFormat properties used to outline underline line. |
| `underlineFillFormat` | `IFillFormat` | Read | Returns the underline line FillFormat properties. |
| `fontBold` | `NullableBool` | Read | Determines whether the font is bold. |
| `fontItalic` | `NullableBool` | Read | Determines whether the font is italic. |
| `kumimoji` | `NullableBool` | Read | Determines whether the numbers should ignore text eastern language-specific vertical text layout. |
| `normaliseHeight` | `NullableBool` | Read | Determines whether the height of a text should be normalized. |
| `proofDisabled` | `NullableBool` | Read | Determines whether the text shouldn't be proofed. |
| `fontUnderline` | `TextUnderlineType` | Read | Returns the text underline type. |
| `textCapType` | `TextCapType` | Read | Returns the type of text capitalization. |
| `strikethroughType` | `TextStrikethroughType` | Read | Returns the strikethrough type of a text. |
| `isHardUnderlineLine` | `NullableBool` | Read | Determines whether the underline style has own LineFormat properties or inherits from text. |
| `isHardUnderlineFill` | `NullableBool` | Read | Determines whether the underline style has own FillFormat properties or inherits from text. |
| `fontHeight` | `float` | Read | Returns the font height of a portion. |
| `escapement` | `float` | Read | Returns the superscript or subscript text value from -100% (subscript) to 100% (superscript). |
| `kerningMinimalSize` | `float` | Read | Returns the minimal font size for which kerning should be switched on. |
| `spacing` | `float` | Read | Returns the intercharacter spacing increment. |
| `latinFont` | `IFontData` | Read | Returns the Latin font info. |
| `eastAsianFont` | `IFontData` | Read | Returns the East Asian font info. |
| `complexScriptFont` | `IFontData` | Read | Returns the complex script font info. |
| `symbolFont` | `IFontData` | Read | Returns the symbolic font info. |
| `languageId` | `String` | Read | Returns the Id of a proofing language. |
| `alternativeLanguageId` | `String` | Read | Returns the Id of an alternative language. |
| `spellCheck` | `boolean` | Read | Gets a value indicating whether spell checking is enabled for the text portion. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getLineFormat()` → `ILineFormat` | Returns the LineFormat properties for text outlining. |
| `getFillFormat()` → `IFillFormat` | Returns the text FillFormat properties. |
| `getEffectFormat()` → `IEffectFormat` | Returns the text EffectFormat properties. |
| `getHighlightColor()` → `IColorFormat` | Returns the color used to highlight a text. |
| `getUnderlineLineFormat()` → `ILineFormat` | Returns the LineFormat properties used to outline underline line. |
| `getUnderlineFillFormat()` → `IFillFormat` | Returns the underline line FillFormat properties. |
| `getFontBold()` → `NullableBool` | Determines whether the font is bold. |
| `setFontBold(value: NullableBool)` | Sets whether the font is bold. |
| `getFontItalic()` → `NullableBool` | Determines whether the font is italic. |
| `setFontItalic(value: NullableBool)` | Sets whether the font is italic. |
| `getKumimoji()` → `NullableBool` | Determines whether the numbers should ignore text eastern language-specific vertical text layout. |
| `setKumimoji(value: NullableBool)` | Sets whether the numbers should ignore text eastern language-specific vertical text layout. |
| `getNormaliseHeight()` → `NullableBool` | Determines whether the height of a text should be normalized. |
| `setNormaliseHeight(value: NullableBool)` | Sets whether the height of a text should be normalized. |
| `getProofDisabled()` → `NullableBool` | Determines whether the text shouldn't be proofed. |
| `setProofDisabled(value: NullableBool)` | Sets whether the text shouldn't be proofed. |
| `getFontUnderline()` → `TextUnderlineType` | Returns the text underline type. |
| `setFontUnderline(value: TextUnderlineType)` | Sets the text underline type. |
| `getTextCapType()` → `TextCapType` | Returns the type of text capitalization. |
| `setTextCapType(value: TextCapType)` | Sets the type of text capitalization. |
| `getStrikethroughType()` → `TextStrikethroughType` | Returns the strikethrough type of a text. |
| `setStrikethroughType(value: TextStrikethroughType)` | Sets the strikethrough type of a text. |
| `getIsHardUnderlineLine()` → `NullableBool` | Determines whether the underline style has own LineFormat properties or inherits from text. |
| `setIsHardUnderlineLine(value: NullableBool)` | Sets whether the underline style has own LineFormat properties or inherits from text. |
| `getIsHardUnderlineFill()` → `NullableBool` | Determines whether the underline style has own FillFormat properties or inherits from text. |
| `setIsHardUnderlineFill(value: NullableBool)` | Sets whether the underline style has own FillFormat properties or inherits from text. |
| `getFontHeight()` → `float` | Returns the font height of a portion. |
| `setFontHeight(value: float)` | Sets the font height of a portion. |
| `getEscapement()` → `float` | Returns the superscript or subscript text value from -100% (subscript) to 100% (superscript). |
| `setEscapement(value: float)` | Sets the superscript or subscript text value. |
| `getKerningMinimalSize()` → `float` | Returns the minimal font size for which kerning should be switched on. |
| `setKerningMinimalSize(value: float)` | Sets the minimal font size for which kerning should be switched on. |
| `getSpacing()` → `float` | Returns the intercharacter spacing increment. |
| `setSpacing(value: float)` | Sets the intercharacter spacing increment. |
| `getLatinFont()` → `IFontData` | Returns the Latin font info. |
| `setLatinFont(value: IFontData)` | Sets the Latin font info. |
| `getEastAsianFont()` → `IFontData` | Returns the East Asian font info. |
| `setEastAsianFont(value: IFontData)` | Sets the East Asian font info. |
| `getComplexScriptFont()` → `IFontData` | Returns the complex script font info. |
| `setComplexScriptFont(value: IFontData)` | Sets the complex script font info. |
| `getSymbolFont()` → `IFontData` | Returns the symbolic font info. |
| `setSymbolFont(value: IFontData)` | Sets the symbolic font info. |
| `getLanguageId()` → `String` | Returns the Id of a proofing language. |
| `setLanguageId(value: String)` | Sets the Id of a proofing language. |
| `getAlternativeLanguageId()` → `String` | Returns the Id of an alternative language. |
| `setAlternativeLanguageId(value: String)` | Sets the Id of an alternative language. |
| `getSpellCheck()` → `boolean` | Gets a value indicating whether spell checking is enabled for the text portion. |
| `setSpellCheck(value: boolean)` | Sets a value indicating whether spell checking is enabled for the text portion. |

## See Also

- [Aspose.Slides — Enterprise API Reference](https://reference.aspose.com/slides/)