Class Property
- Namespace
- iText.Layout.Properties
- Assembly
- itext.layout.dll
An enum of property names that are used for graphical properties of layout elements.
public sealed class Property
- Inheritance
-
Property
- Inherited Members
Remarks
An enum of property names that are used for graphical properties of layout
elements. The
IPropertyContainer
performs the same function as an
Fields
ACTION
public const int ACTION = 1
Field Value
ADD_MARKED_CONTENT_TEXT
public const int ADD_MARKED_CONTENT_TEXT = 137
Field Value
ALIGN_CONTENT
public const int ALIGN_CONTENT = 130
Field Value
ALIGN_ITEMS
public const int ALIGN_ITEMS = 134
Field Value
ALIGN_SELF
public const int ALIGN_SELF = 129
Field Value
APPEARANCE_STREAM_LAYOUT
public const int APPEARANCE_STREAM_LAYOUT = 82
Field Value
AREA_BREAK_TYPE
public const int AREA_BREAK_TYPE = 2
Field Value
AUTO_SCALE
public const int AUTO_SCALE = 3
Field Value
AUTO_SCALE_HEIGHT
public const int AUTO_SCALE_HEIGHT = 4
Field Value
AUTO_SCALE_WIDTH
public const int AUTO_SCALE_WIDTH = 5
Field Value
BACKGROUND
public const int BACKGROUND = 6
Field Value
BACKGROUND_IMAGE
public const int BACKGROUND_IMAGE = 90
Field Value
BASE_DIRECTION
public const int BASE_DIRECTION = 7
Field Value
BOLD_SIMULATION
public const int BOLD_SIMULATION = 8
Field Value
BORDER
public const int BORDER = 9
Field Value
BORDER_BOTTOM
public const int BORDER_BOTTOM = 10
Field Value
BORDER_BOTTOM_LEFT_RADIUS
public const int BORDER_BOTTOM_LEFT_RADIUS = 113
Field Value
BORDER_BOTTOM_RIGHT_RADIUS
public const int BORDER_BOTTOM_RIGHT_RADIUS = 112
Field Value
BORDER_COLLAPSE
public const int BORDER_COLLAPSE = 114
Field Value
BORDER_LEFT
public const int BORDER_LEFT = 11
Field Value
BORDER_RADIUS
public const int BORDER_RADIUS = 101
Field Value
BORDER_RIGHT
public const int BORDER_RIGHT = 12
Field Value
BORDER_TOP
public const int BORDER_TOP = 13
Field Value
BORDER_TOP_LEFT_RADIUS
public const int BORDER_TOP_LEFT_RADIUS = 110
Field Value
BORDER_TOP_RIGHT_RADIUS
public const int BORDER_TOP_RIGHT_RADIUS = 111
Field Value
BOTTOM
public const int BOTTOM = 14
Field Value
BOX_SIZING
public const int BOX_SIZING = 105
Field Value
CAPTION_SIDE
public const int CAPTION_SIDE = 119
Field Value
CHARACTER_SPACING
public const int CHARACTER_SPACING = 15
Field Value
CLEAR
public const int CLEAR = 100
Field Value
COLLAPSING_MARGINS
public const int COLLAPSING_MARGINS = 89
Field Value
COLSPAN
public const int COLSPAN = 16
Field Value
COLUMN_COUNT
public const int COLUMN_COUNT = 138
Field Value
COLUMN_GAP
public const int COLUMN_GAP = 143
Field Value
COLUMN_GAP_BORDER
public const int COLUMN_GAP_BORDER = 144
Field Value
COLUMN_WIDTH
public const int COLUMN_WIDTH = 142
Field Value
DESTINATION
Can be either destination name (id) as String or a Tuple2(String, PdfDictionary) where String is destination name (id) and PdfDictionary is a dictionary of goto PdfAction.
public const int DESTINATION = 17
Field Value
Remarks
Can be either destination name (id) as String or a Tuple2(String, PdfDictionary) where String is destination name (id) and PdfDictionary is a dictionary of goto PdfAction. This second variant allow to create structure destination in tagged pdf.
FILL_AVAILABLE_AREA
public const int FILL_AVAILABLE_AREA = 86
Field Value
FILL_AVAILABLE_AREA_ON_SPLIT
public const int FILL_AVAILABLE_AREA_ON_SPLIT = 87
Field Value
FIRST_LINE_INDENT
public const int FIRST_LINE_INDENT = 18
Field Value
FLEX_BASIS
public const int FLEX_BASIS = 131
Field Value
FLEX_DIRECTION
public const int FLEX_DIRECTION = 139
Field Value
FLEX_GROW
public const int FLEX_GROW = 132
Field Value
FLEX_SHRINK
public const int FLEX_SHRINK = 127
Field Value
FLEX_WRAP
public const int FLEX_WRAP = 128
Field Value
FLOAT
public const int FLOAT = 99
Field Value
FLUSH_ON_DRAW
public const int FLUSH_ON_DRAW = 19
Field Value
FONT
Font family as String or PdfFont shall be set.
public const int FONT = 20
Field Value
- See Also
FONT_COLOR
public const int FONT_COLOR = 21
Field Value
FONT_KERNING
public const int FONT_KERNING = 22
Field Value
FONT_PROVIDER
Shall be instance of FontProvider
public const int FONT_PROVIDER = 91
Field Value
FONT_SCRIPT
public const int FONT_SCRIPT = 23
Field Value
FONT_SET
Shall be instance of FontSet.
public const int FONT_SET = 98
Field Value
FONT_SIZE
public const int FONT_SIZE = 24
Field Value
FONT_STYLE
String value.
public const int FONT_STYLE = 94
Field Value
Remarks
String value. 'normal'|'italic'|'oblique' Note, this property will be applied only if FONT has String[] value.
FONT_WEIGHT
String value.
public const int FONT_WEIGHT = 95
Field Value
Remarks
String value. 'normal'|'bold'|number Note, this property will be applied only if FONT has String[] value.
FORCED_PLACEMENT
public const int FORCED_PLACEMENT = 26
Field Value
FULL
public const int FULL = 25
Field Value
GRID_AUTO_COLUMNS
public const int GRID_AUTO_COLUMNS = 152
Field Value
GRID_AUTO_ROWS
public const int GRID_AUTO_ROWS = 151
Field Value
GRID_COLUMN_END
public const int GRID_COLUMN_END = 147
Field Value
GRID_COLUMN_SPAN
public const int GRID_COLUMN_SPAN = 155
Field Value
GRID_COLUMN_START
public const int GRID_COLUMN_START = 148
Field Value
GRID_FLOW
public const int GRID_FLOW = 154
Field Value
GRID_ROW_END
public const int GRID_ROW_END = 149
Field Value
GRID_ROW_SPAN
public const int GRID_ROW_SPAN = 156
Field Value
GRID_ROW_START
public const int GRID_ROW_START = 150
Field Value
GRID_TEMPLATE_COLUMNS
public const int GRID_TEMPLATE_COLUMNS = 145
Field Value
GRID_TEMPLATE_ROWS
public const int GRID_TEMPLATE_ROWS = 146
Field Value
HEIGHT
public const int HEIGHT = 27
Field Value
HORIZONTAL_ALIGNMENT
public const int HORIZONTAL_ALIGNMENT = 28
Field Value
HORIZONTAL_BORDER_SPACING
public const int HORIZONTAL_BORDER_SPACING = 115
Field Value
HORIZONTAL_SCALING
Value of 1 is equivalent to no scaling
public const int HORIZONTAL_SCALING = 29
Field Value
HYPHENATION
public const int HYPHENATION = 30
Field Value
ID
public const int ID = 126
Field Value
IGNORE_FOOTER
public const int IGNORE_FOOTER = 96
Field Value
IGNORE_HEADER
public const int IGNORE_HEADER = 97
Field Value
INLINE_VERTICAL_ALIGNMENT
public const int INLINE_VERTICAL_ALIGNMENT = 136
Field Value
ITALIC_SIMULATION
public const int ITALIC_SIMULATION = 31
Field Value
JUSTIFY_CONTENT
public const int JUSTIFY_CONTENT = 133
Field Value
KEEP_TOGETHER
public const int KEEP_TOGETHER = 32
Field Value
KEEP_WITH_NEXT
public const int KEEP_WITH_NEXT = 81
Field Value
LEADING
public const int LEADING = 33
Field Value
LEFT
public const int LEFT = 34
Field Value
LINE_DRAWER
public const int LINE_DRAWER = 35
Field Value
LINE_HEIGHT
public const int LINE_HEIGHT = 124
Field Value
LINK_ANNOTATION
public const int LINK_ANNOTATION = 88
Field Value
LIST_START
public const int LIST_START = 36
Field Value
LIST_SYMBOL
public const int LIST_SYMBOL = 37
Field Value
LIST_SYMBOLS_INITIALIZED
public const int LIST_SYMBOLS_INITIALIZED = 40
Field Value
LIST_SYMBOL_ALIGNMENT
public const int LIST_SYMBOL_ALIGNMENT = 38
Field Value
LIST_SYMBOL_INDENT
public const int LIST_SYMBOL_INDENT = 39
Field Value
LIST_SYMBOL_ORDINAL_VALUE
public const int LIST_SYMBOL_ORDINAL_VALUE = 120
Field Value
LIST_SYMBOL_POSITION
public const int LIST_SYMBOL_POSITION = 83
Field Value
LIST_SYMBOL_POST_TEXT
public const int LIST_SYMBOL_POST_TEXT = 42
Field Value
LIST_SYMBOL_PRE_TEXT
public const int LIST_SYMBOL_PRE_TEXT = 41
Field Value
MARGIN_BOTTOM
public const int MARGIN_BOTTOM = 43
Field Value
MARGIN_LEFT
public const int MARGIN_LEFT = 44
Field Value
MARGIN_RIGHT
public const int MARGIN_RIGHT = 45
Field Value
MARGIN_TOP
public const int MARGIN_TOP = 46
Field Value
MAX_HEIGHT
public const int MAX_HEIGHT = 84
Field Value
MAX_WIDTH
public const int MAX_WIDTH = 79
Field Value
META_INFO
public const int META_INFO = 135
Field Value
MIN_HEIGHT
public const int MIN_HEIGHT = 85
Field Value
MIN_WIDTH
public const int MIN_WIDTH = 80
Field Value
NO_SOFT_WRAP_INLINE
public const int NO_SOFT_WRAP_INLINE = 118
Field Value
OBJECT_FIT
public const int OBJECT_FIT = 125
Field Value
OPACITY
public const int OPACITY = 92
Field Value
ORPHANS_CONTROL
public const int ORPHANS_CONTROL = 121
Field Value
OUTLINE
public const int OUTLINE = 106
Field Value
OUTLINE_OFFSET
public const int OUTLINE_OFFSET = 107
Field Value
OVERFLOW_WRAP
public const int OVERFLOW_WRAP = 102
Field Value
OVERFLOW_X
public const int OVERFLOW_X = 103
Field Value
OVERFLOW_Y
public const int OVERFLOW_Y = 104
Field Value
PADDING_BOTTOM
public const int PADDING_BOTTOM = 47
Field Value
PADDING_LEFT
public const int PADDING_LEFT = 48
Field Value
PADDING_RIGHT
public const int PADDING_RIGHT = 49
Field Value
PADDING_TOP
public const int PADDING_TOP = 50
Field Value
PAGE_NUMBER
public const int PAGE_NUMBER = 51
Field Value
POSITION
public const int POSITION = 52
Field Value
RENDERING_MODE
public const int RENDERING_MODE = 123
Field Value
RIGHT
public const int RIGHT = 54
Field Value
ROTATION_ANGLE
public const int ROTATION_ANGLE = 55
Field Value
ROTATION_INITIAL_HEIGHT
public const int ROTATION_INITIAL_HEIGHT = 56
Field Value
ROTATION_INITIAL_WIDTH
public const int ROTATION_INITIAL_WIDTH = 57
Field Value
ROTATION_POINT_X
public const int ROTATION_POINT_X = 58
Field Value
ROTATION_POINT_Y
public const int ROTATION_POINT_Y = 59
Field Value
ROWSPAN
public const int ROWSPAN = 60
Field Value
ROW_GAP
public const int ROW_GAP = 153
Field Value
SKEW
public const int SKEW = 65
Field Value
SPACING_RATIO
public const int SPACING_RATIO = 61
Field Value
SPLIT_CHARACTERS
public const int SPLIT_CHARACTERS = 62
Field Value
STROKE_COLOR
public const int STROKE_COLOR = 63
Field Value
STROKE_WIDTH
public const int STROKE_WIDTH = 64
Field Value
TABLE_LAYOUT
public const int TABLE_LAYOUT = 93
Field Value
TAB_ANCHOR
public const int TAB_ANCHOR = 66
Field Value
TAB_DEFAULT
public const int TAB_DEFAULT = 67
Field Value
TAB_LEADER
public const int TAB_LEADER = 68
Field Value
TAB_STOPS
public const int TAB_STOPS = 69
Field Value
TAGGING_HELPER
public const int TAGGING_HELPER = 108
Field Value
TAGGING_HINT_KEY
public const int TAGGING_HINT_KEY = 109
Field Value
TEXT_ALIGNMENT
public const int TEXT_ALIGNMENT = 70
Field Value
TEXT_RENDERING_MODE
Use values from PdfCanvasConstants.TextRenderingMode.
public const int TEXT_RENDERING_MODE = 71
Field Value
TEXT_RISE
public const int TEXT_RISE = 72
Field Value
TOP
public const int TOP = 73
Field Value
TRANSFORM
public const int TRANSFORM = 53
Field Value
TREAT_AS_CONTINUOUS_CONTAINER
public const int TREAT_AS_CONTINUOUS_CONTAINER = 140
Field Value
TREAT_AS_CONTINUOUS_CONTAINER_RESULT
public const int TREAT_AS_CONTINUOUS_CONTAINER_RESULT = 141
Field Value
TYPOGRAPHY_CONFIG
public const int TYPOGRAPHY_CONFIG = 117
Field Value
UNDERLINE
public const int UNDERLINE = 74
Field Value
VERTICAL_ALIGNMENT
public const int VERTICAL_ALIGNMENT = 75
Field Value
VERTICAL_BORDER_SPACING
public const int VERTICAL_BORDER_SPACING = 116
Field Value
VERTICAL_SCALING
Value of 1 is equivalent to no scaling
public const int VERTICAL_SCALING = 76
Field Value
WIDOWS_CONTROL
public const int WIDOWS_CONTROL = 122
Field Value
WIDTH
public const int WIDTH = 77
Field Value
WORD_SPACING
public const int WORD_SPACING = 78
Field Value
Methods
IsPropertyInherited(int)
This method checks whether a Property, in order to be picked up by the
rendering engine, must be defined on the current element or renderer
(return false
), or may be defined in one of its parent
elements or renderers (return true
).
public static bool IsPropertyInherited(int property)
Parameters
property
intthe ID, defined in this class, of the property to check
Returns
- bool
whether the property type is inheritable