PDFStandardLayoutAttribute¶
Namespace: O2S.Components.PDF4NET.LogicalStructure
Defines a standard layout attribute.
Inheritance Object → PDFStructureElementAttribute → PDFStandardLayoutAttribute
Constructors¶
PDFStandardLayoutAttribute()¶
Initializes a new PDFStandardLayoutAttribute object.
Properties¶
BackgroundColor¶
Gets or sets the background color.
Property Value
PDFRgbColor
The color to be used to fill the background of a table cell or any element's content rectangle
BaselineShift¶
Gets or sets the baseline shift.
Property Value
Double
The distance, in default user space units, by which the element's baseline shall be shifted relative to that of its parent element.
BlockAlign¶
Gets or sets the block align.
Property Value
PDFStandardLayoutBlockAlign
The alignment, in the block-progression direction, of content within the table cell.
BorderColor¶
Gets or sets the border color.
Property Value
PDFRgbColor
The colour of the border drawn on the edges of a table cell or any element's content rectangle
BorderStyle¶
Gets or sets the border style.
Property Value
PDFStandardLayoutBorderStyle
A PDFStandardLayoutBorderStyle enum member specifying the style of an element's border.
BorderThickness¶
Gets or sets the border thickness.
Property Value
Double
The thickness of the border drawn on the edges of a table cell or any element's content rectangle.
BoundingBox¶
Gets or sets the bounding box.
Property Value
PDFStandardRectangle
A rectangle in default user space units that shall give the coordinates of the left, bottom, right, and top edges,
respectively, of the structure element's bounding box (the rectangle that completely encloses its visible content).
Color¶
Gets or sets the text color.
Property Value
PDFRgbColor
The colour to be used for drawing text and the default value for the colour of table borders and text decorations.
ColumnCount¶
Gets or sets the number of columns.
Property Value
Int32
The number of columns in the content of the grouping element.
ColumnGap¶
Gets or sets the column gap.
Property Value
Double
The desired space between adjacent columns, measured in default user space units in the inline-progression direction.
ColumnWidths¶
Gets or sets the column widths.
Property Value
Double[]
The desired width of the columns, measured in default user space units in the inline-progression direction.
CosDictionary¶
Gets the underlying COS dictionary.
Property Value
PDFCosDictionary
A PDFCosDictionary object that backs this attribute object.
EndIndent¶
Gets or sets the end indent.
Property Value
Double
The distance from the end edge of the block to that of the reference area, measured in default user space units in the inline-progression direction.
GlyphOrientationVertical¶
Gets or sets the glyph orientation.
Property Value
Int32
The orientation of glyphs when the inline-progression direction is top to bottom or bottom to top
Remarks
The value -1 indicates a default orientation for text, depending on whether it is fullwidth (as wide as it is high).
Height¶
Gets or sets the element height.
Property Value
Double
The height of the element's content rectangle, measured in default user space units in the block-progression direction.
Remarks
The value -1 indicates auto height, no specific height constraint is to be imposed; the element's height is determined by the intrinsic height of its content.
InlineAlign¶
Gets or sets the inline align.
Property Value
PDFStandardLayoutInlineAlign
The alignment, in the inline-progression direction, of content within the table cell.
LineHeight¶
Gets or sets the line height.
Property Value
Double
The element's preferred height, measured in default user space units in the block-progression direction.
Remarks
The value -2 means "Normal" (Adjust the line height to include any non-zero value specified for PDFStandardLayoutAttribute.BaselineShift), the value -1 means "Auto" (Adjustment for the value of PDFStandardLayoutAttribute.BaselineShift shall not be made).
Padding¶
Gets or sets the padding.
Property Value
Double
An offset to account for the separation between the element's content rectangle and the surrounding border.
Placement¶
Gets or sets the element placement.
Property Value
PDFStandardLayoutPlacement
A PDFStandardLayoutPlacement enum member specifying the positioning of the element with respect to the enclosing reference area and other content.
RubyAlign¶
Gets or sets the ruby align.
Property Value
PDFStandardLayoutRubyAlign
A PDFStandardLayoutRubyAlign enum member specifying the justification of the lines within a ruby assembly.
RubyPosition¶
Gets or sets the ruby align.
Property Value
PDFStandardLayoutRubyPosition
A PDFStandardLayoutRubyPosition enum member specifying the justification of the lines within a ruby assembly.
SpaceAfter¶
Gets or sets the space after.
Property Value
Double
The amount of extra space following the after edge of the block, measured in default user space units in the block-progression direction.
SpaceBefore¶
Gets or sets the space before.
Property Value
Double
The amount of extra space preceding the before edge of the block, measured in default user space units in the block-progression direction.
StartIndent¶
Gets or sets the start indent.
Property Value
Double
The distance from the start edge of the reference area to that of the block, measured in default user space units in the inline-progression direction.
TableCellBorderStyle¶
Gets or sets the table cell border style.
Property Value
PDFStandardLayoutBorderStyle
A PDFStandardLayoutBorderStyle enum member specifying the style of the border drawn on each edge of a table cell.
TableCellPadding¶
Gets or sets the table cell padding.
Property Value
Double
An offset to account for the separation between the table cell's content rectangle and the surrounding border.
TextAlign¶
Gets or sets the text align.
Property Value
PDFStandardLayoutTextAlign
The alignment, in the inline-progression direction, of text and other content within lines of the block.
TextDecorationColor¶
Gets or sets the text decoration color.
Property Value
PDFRgbColor
The colour to be used for drawing text decorations.
TextDecorationThickness¶
Gets or sets the text decoration thickness.
Property Value
Double
The thickness of each line drawn as part of the text decoration.
TextDecorationType¶
Gets or sets the text decoration type.
Property Value
PDFStandardLayoutTextDecorationType
A PDFStandardLayoutTextDecorationType enum member specifying the text decoration, if any, to be applied to the element's text.
TextIndent¶
Gets or sets the text indent.
Property Value
Double
The additional distance, measured in default user space units in the inline-progression direction, from the start edge of the block, as specified by PDFStandardLayoutAttribute.StartIndent, to that of the first line of text.
Remarks
A negative value shall indicate a hanging indent.
TextPosition¶
Gets or sets the text position.
Property Value
PDFStandardLayoutTextPosition
A PDFStandardLayoutTextPosition enum member specifying the position of the element relative the immediately surrounding content.
Width¶
Gets or sets the element width.
Property Value
Double
The width of the element's content rectangle, measured in default user space units in the inline-progression direction.
Remarks
The value -1 indicates auto width, no specific width constraint is to be imposed; the element's width is determined by the intrinsic width of its content.
WritingMode¶
Gets or sets the element writing mode.
Property Value
PDFStandardLayoutWritingMode
A PDFStandardLayoutWritingMode enum member specifying the writing mode of the element.