Apitron.PDF.Kit library for .NET
Top
The Style type exposes the following members.
Properties
Name | Description | |
---|---|---|
Align |
Gets or sets the horizontal alignment of the element’s content, it can be Left, Right, Center aligned or Justified. Only acceptable for block elements,
this property will be ignored if the element used is not a block. Left, Right, Center values are supported by all elements. In case of Justify is used – only text elements will be affected.
All elements inherit value from their block containers, only block elements can override parent’s Align setting.
| |
Background |
Gets or sets the background color. Not inheritable.
| |
BackgroundImage |
Gets or sets the background image for the element.
The background of an element is the total size of the element, including padding (but not the margin and border).
By default, a background-image is placed at the top-left corner of an element, and repeated both vertically and horizontally. Not inheritable.
| |
BackgroundPosition |
Gets or sets the background position value for the element.
The background position property sets the starting position of a background image. Not inheritable.
| |
BackgroundRepeat |
Gets or sets the background repeat value for the element.
The background repeat property sets if/how a background image will be repeated. By default, a background image is repeated both vertically and horizontally. Not inheritable.
| |
Border |
Gets or sets the border around the element. Not inheritable.
| |
BorderBottom |
Gets or sets the bottom border. Not inheritable.
| |
BorderColor |
Gets or sets the color of the border. Not inheritable.
| |
BorderLeft |
Gets or sets the left border. Not inheritable.
| |
BorderRadius |
Gets or sets the border radius. Can be set using percentage value, in this case it's calculated using content width including padding as a base.
If BorderRadius is being set to a non-null value, all other border values set except Border are ignored.
Not inheritable.
| |
BorderRight |
Gets or sets the right border. Not inheritable.
| |
BorderTop |
Gets or sets the top border. Not inheritable.
| |
CellPadding |
Gets or sets the cell padding, affects only Grid elements. Not inheritable.
| |
CharacterSpacing |
Gets or sets the character spacing. Inheritable.
| |
Clear |
Gets or sets the clear flag for the element indicating whether it should ignore floating elements (if any) and start a new line. Not inheritable.
| |
Color |
Gets or sets the foreground color for the element. Inheritable.
| |
Display |
Gets or sets the display setting for the element. Not inheritable.
| |
Float |
Gets or sets the value indicating that element can float. Not inheritable.
| |
Font |
Gets or sets the font for the element. Inheritable.
| |
Height |
Gets or sets the height of the element. Not inheritable.
| |
InnerBorder |
Gets or sets the inner border, affects only Grid elements. Not inheritable.
| |
InnerBorderColor |
Gets or sets the color of the inner border affects only Grid elements. Not inheritable.
| |
LineHeight |
Gets or sets the height of the line. On a block container element whose content is composed of inline-level elements, 'line-height' specifies the minimal height of line boxes within the element.
On a non-inline element, 'line-height' specifies the height that is used in the calculation of the line box height.
Inheritable.
| |
ListCounter |
Gets or sets the list counter. Not inheritable.
| |
ListMarker |
Gets or sets the list marker appearance. Inheritable.
| |
ListMarkerPadding |
Gets or sets the list marker padding. Inheritable.
| |
ListStyle |
Gets or sets the list style. Not inheritable.
| |
Margin |
Gets or sets the margin around the element. Not inheritable.
| |
Padding |
Gets or sets the padding. Not inheritable.
| |
ScriptLevel |
Gets or sets the value used to create subscripting or superscripting effect. It defines the level of effect, zero can be used for normal scripting, positive values are for superscripting, negative for subscripting.
Affects textual elements. Not inheritable.
| |
StructureType |
Gets or sets the type of the logical structure.
| |
TextDecoration |
Gets or sets the text decoration. Inheritable.
| |
TextIndent |
Gets or sets the text indent. Inheritable.
| |
TextRenderingMode |
Gets or sets the text rendering mode used to draw textual elements.
By default all text is being drawn using Fill setting. Inheritable.
| |
VerticalAlign |
Gets or sets the vertical align. Not inheritable.
| |
Width |
Gets or sets the width of the element. Not inheritable.
| |
WordSpacing |
Gets or sets the word spacing. Inheritable.
|
See Also