Enum DisplayType
Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)
Specifies the display behavior of elements in SVG documents.
[ComVisible(true)]
public enum DisplayType
Fields
Block = 1
The element generates a block box.
Flex = 15
The element behaves like a flex container.
Grid = 17
The element behaves like a grid container.
Inline = 0
The element generates one or more inline boxes.
InlineBlock = 3
The element generates a block box for the content and an inline box for the container.
InlineFlex = 16
The element behaves like an inline flex container.
InlineGrid = 18
The element behaves like an inline grid container.
InlineTable = 5
The element behaves like an inline table.
ListItem = 2
The element generates a block box for the content and a separate list-item inline box.
None = 14
The element does not generate any box and is not rendered. It does not affect layout.
Table = 4
The element behaves like a table element.
TableCaption = 13
The element behaves like a table caption.
TableCell = 12
The element behaves like a table cell.
TableColumn = 11
The element behaves like a table column.
TableColumnGroup = 10
The element behaves like a table column group.
TableFooterGroup = 8
The element behaves like a table footer group.
TableHeaderGroup = 7
The element behaves like a table header group.
TableRow = 9
The element behaves like a table row.
TableRowGroup = 6
The element behaves like a table row group.
Remarks
The ‘display’ property in SVG and CSS determines how an element is displayed in the document layout. This enumeration provides various options for setting the display type, influencing how elements are rendered and interact with the layout.