LayoutAttributes

Overview

LayoutAttributes is a interface in Aspose.PDF FOSS for TypeScript.

Properties: backgroundColor, baselineShift, bbox, blockAlign, borderColor, borderStyle, and 26 more.

Properties

NameTypeAccessDescription
placement: 'Block' | 'Inline' | 'Before' | 'Start' | 'End'ReadGets the placement.
writingMode: 'LrTb' | 'RlTb' | 'TbRl'ReadGets the writing mode.
backgroundColor: RGBReadGets the background color.
borderColor: Edged<RGB>ReadGets the border color.
borderStyle: Edged<BorderStyle>ReadGets the border style.
borderThickness: Edged<number>ReadGets the border thickness.
color: RGBReadGets the color.
padding: Edged<number>ReadGets the padding.
spaceBefore: numberReadGets the space before.
spaceAfter: numberReadGets the space after.
startIndent: numberReadGets the start indent.
endIndent: numberReadGets the end indent.
textIndent: numberReadGets the text indent.
textAlign: 'Start' | 'Center' | 'End' | 'Justify'ReadGets the text align.
bbox: [number, number, number, number]ReadGets the bbox.
width: number | 'Auto'ReadGets the width.
height: number | 'Auto'ReadGets the height.
blockAlign: 'Before' | 'Middle' | 'After' | 'Justify'ReadGets the block align.
inlineAlign: 'Start' | 'Center' | 'End'ReadGets the inline align.
tBorderStyle: Edged<BorderStyle>ReadGets the t border style.
tPadding: Edged<number>ReadGets the t padding.
lineHeight: number | 'Normal' | 'Auto'ReadGets the line height.
baselineShift: numberReadGets the baseline shift.
textDecorationType: 'None' | 'Underline' | 'Overline' | 'LineThrough'ReadGets the text decoration type.
textDecorationColor: RGBReadGets the text decoration color.
textDecorationThickness: numberReadGets the text decoration thickness.
columnCount: numberReadGets the column count.
columnGap: number | number[]ReadGets the column gap.
columnWidths: number | number[]ReadGets the column widths.
glyphOrientationVertical: 'Auto' | numberReadGets the glyph orientation vertical.
rubyAlign: 'Start' | 'Center' | 'End' | 'Justify' | 'Distribute'ReadGets the ruby align.
rubyPosition: 'Before' | 'After' | 'Warichu' | 'Inline'ReadGets the ruby position.