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

NameTypeAccessDescription
marginMarginInfoReadReturns the margin for this TOC level.
textStateTextStateReadReturns the text state (font, size, color) for this TOC level.
lineDashintReadReturns the line dash style for the leader dots.

Methods

SignatureDescription
LevelFormat()Creates a LevelFormat with default settings.
getMargin()MarginInfoReturns the margin for this TOC level.
setMargin(margin: MarginInfo)Sets the margin for this TOC level.
getTextState()TextStateReturns 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()intReturns the line dash style for the leader dots.
setLineDash(lineDash: int)Sets the line dash style for the leader dots.

See Also

 English