ContentEditingTextBlockLineSpacingEdit

class ContentEditingTextBlockLineSpacingEdit(pageIndex: Int, textBlockId: String, oldLineSpacing: Float?, newLineSpacing: Float?) : ContentEditingEdit

Edit representing a change to the line spacing of a text block in content editing mode.

Parameters

pageIndex

The zero-based index of the page containing the text block.

textBlockId

The unique identifier of the text block.

oldLineSpacing

The line spacing value before the edit, or null if not set.

newLineSpacing

The line spacing value after the edit, or null if not set.

Constructors

Link copied to clipboard
constructor(pageIndex: Int, textBlockId: String, oldLineSpacing: Float?, newLineSpacing: Float?)

Functions

Link copied to clipboard
fun getLineSpacing(forUndo: Boolean): Float?

Returns the line spacing value for undo or redo operations.