LayoutAttributes
LayoutAttributes
Tổng quan
LayoutAttributes là một giao diện trong Aspose.PDF FOSS cho TypeScript.
Thuộc tính: backgroundColor, baselineShift, bbox, blockAlign, borderColor, borderStyle, và 26 thuộc tính khác.
Thuộc tính
| Tên | Kiểu | Truy cập | Mô tả |
|---|---|---|---|
placement | `: ‘Block’ | ‘Inline’ | ‘Before’ |
writingMode | `: ‘LrTb’ | ‘RlTb’ | ‘TbRl’` |
backgroundColor | : RGB | Đọc | Lấy màu nền. |
borderColor | : Edged<RGB> | Đọc | Lấy màu viền. |
borderStyle | : Edged<BorderStyle> | Đọc | Lấy kiểu viền. |
borderThickness | : Edged<number> | Đọc | Lấy độ dày viền. |
color | : RGB | Đọc | Lấy màu. |
padding | : Edged<number> | Đọc | Lấy phần đệm. |
spaceBefore | : number | Đọc | Lấy khoảng cách trước. |
spaceAfter | : number | Đọc | Lấy khoảng cách sau. |
startIndent | : number | Đọc | Lấy độ thụt đầu. |
endIndent | : number | Đọc | Lấy độ thụt cuối. |
textIndent | : number | Đọc | Lấy độ thụt lề văn bản. |
textAlign | `: ‘Start’ | ‘Center’ | ‘End’ |
bbox | : [number, number, number, number] | Đọc | Lấy bbox. |
width | `: number | ‘Auto’` | Đọc |
height | `: number | ‘Auto’` | Đọc |
blockAlign | `: ‘Before’ | ‘Middle’ | ‘After’ |
inlineAlign | `: ‘Start’ | ‘Center’ | ‘End’` |
tBorderStyle | : Edged<BorderStyle> | Đọc | Lấy kiểu viền t. |
tPadding | : Edged<number> | Đọc | Lấy padding t. |
lineHeight | `: number | ‘Normal’ | ‘Auto’` |
baselineShift | : number | Đọc | Lấy độ dịch baseline. |
textDecorationType | `: ‘None’ | ‘Underline’ | ‘Overline’ |
textDecorationColor | : RGB | Đọc | Lấy màu trang trí văn bản. |
textDecorationThickness | : number | Đọc | Lấy độ dày của trang trí văn bản. |
columnCount | : number | Đọc | Lấy số cột. |
columnGap | `: number | number[]` | Đọc |
columnWidths | `: number | number[]` | Đọc |
glyphOrientationVertical | `: ‘Auto’ | number` | Đọc |
rubyAlign | `: ‘Start’ | ‘Center’ | ‘End’ |
rubyPosition | `: ‘Before’ | ‘After’ | ‘Warichu’ |