LevelFormat
Overview
LevelFormat is a class in Aspose.PDF FOSS for Java.
Represents formatting settings for a single TOC level.
This class provides 7 methods for working with LevelFormat objects in Java programs.
Available methods include: LevelFormat, getLineDash, getMargin, getTextState, setLineDash, setMargin, setTextState.
All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package.
Properties: lineDash, margin, textState.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
margin | MarginInfo | Read | Returns the margin for this TOC level. |
textState | TextState | Read | Returns the text state (font, size, color) for this TOC level. |
lineDash | int | Read | Returns the line dash style for the leader dots. |
Methods
| Signature | Description |
|---|---|
LevelFormat() | Creates a LevelFormat with default settings. |
getMargin() → MarginInfo | Returns the margin for this TOC level. |
setMargin(margin: MarginInfo) | Sets the margin for this TOC level. |
getTextState() → TextState | Returns the text state (font, size, color) for this TOC level. |
setTextState(textState: TextState) | Sets the text state (font, size, color) for this TOC level. |
getLineDash() → int | Returns the line dash style for the leader dots. |
setLineDash(lineDash: int) | Sets the line dash style for the leader dots. |