Apitron.PDF.Kit library for .NET
SystemObject
Apitron.PDF.Kit.Styles.AppearanceDisplay
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Top
Represents possible display states for ContentElement.
This setting affects their position on a page, relation to other elements, inheritance of the styling properties and sizing behavior.
Inheritance Hierarchy
Apitron.PDF.Kit.Styles.AppearanceDisplay
Namespace: Apitron.PDF.Kit.Styles.Appearance
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
The Display type exposes the following members.
Properties
Name | Description | |
---|---|---|
Block |
Gets the value of block setting.
It's important to note that some style properties are only inherited from Block elements e.g. Align.
So by setting the display value to the value that differs from block you will affect the inheritance behavior for such properties.
The block element creates new line before/after itself and can be explicitly sized using Width and Height properties.
| |
Inline |
Gets the value of inline setting. Inline element becomes a part of the content line, thus "inline".
It can be wrapped or moved to the next line if it doesn't fit. Can't be sized explicitly.
| |
InlineBlock |
Gets the value of inline block setting. InlineBlock element differs from inline element by its support for explicit sizing.
| |
None |
Gets the value of none setting. Nothing will be produced for such elements.
|
See Also