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ênKiểuTruy cậpMô tả
placement`: ‘Block’‘Inline’‘Before’
writingMode`: ‘LrTb’‘RlTb’‘TbRl’`
backgroundColor: RGBĐọcLấy màu nền.
borderColor: Edged<RGB>ĐọcLấy màu viền.
borderStyle: Edged<BorderStyle>ĐọcLấy kiểu viền.
borderThickness: Edged<number>ĐọcLấy độ dày viền.
color: RGBĐọcLấy màu.
padding: Edged<number>ĐọcLấy phần đệm.
spaceBefore: numberĐọcLấy khoảng cách trước.
spaceAfter: numberĐọcLấy khoảng cách sau.
startIndent: numberĐọcLấy độ thụt đầu.
endIndent: numberĐọcLấy độ thụt cuối.
textIndent: numberĐọcLấy độ thụt lề văn bản.
textAlign`: ‘Start’‘Center’‘End’
bbox: [number, number, number, number]ĐọcLấy bbox.
width`: number‘Auto’`Đọc
height`: number‘Auto’`Đọc
blockAlign`: ‘Before’‘Middle’‘After’
inlineAlign`: ‘Start’‘Center’‘End’`
tBorderStyle: Edged<BorderStyle>ĐọcLấy kiểu viền t.
tPadding: Edged<number>ĐọcLấy padding t.
lineHeight`: number‘Normal’‘Auto’`
baselineShift: numberĐọcLấy độ dịch baseline.
textDecorationType`: ‘None’‘Underline’‘Overline’
textDecorationColor: RGBĐọcLấy màu trang trí văn bản.
textDecorationThickness: numberĐọcLấy độ dày của trang trí văn bản.
columnCount: numberĐọcLấy số cột.
columnGap`: numbernumber[]`Đọc
columnWidths`: numbernumber[]`Đọc
glyphOrientationVertical`: ‘Auto’number`Đọc
rubyAlign`: ‘Start’‘Center’‘End’
rubyPosition`: ‘Before’‘After’‘Warichu’
 Tiếng Việt