iText 8.0.2 API
iText.Layout.Properties.Property Class Reference

An enum of property names that are used for graphical properties of layout elements. More...

Static Public Member Functions

static bool  IsPropertyInherited (int property)
  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). More...
 

Static Public Attributes

const int  ACTION = 1
 
const int  ALIGN_CONTENT = 130
 
const int  ALIGN_ITEMS = 134
 
const int  ALIGN_SELF = 129
 
const int  APPEARANCE_STREAM_LAYOUT = 82
 
const int  AREA_BREAK_TYPE = 2
 
const int  AUTO_SCALE = 3
 
const int  AUTO_SCALE_HEIGHT = 4
 
const int  AUTO_SCALE_WIDTH = 5
 
const int  BACKGROUND = 6
 
const int  BACKGROUND_IMAGE = 90
 
const int  BASE_DIRECTION = 7
 
const int  BOLD_SIMULATION = 8
 
const int  BORDER = 9
 
const int  BORDER_BOTTOM = 10
 
const int  BORDER_BOTTOM_LEFT_RADIUS = 113
 
const int  BORDER_BOTTOM_RIGHT_RADIUS = 112
 
const int  BORDER_COLLAPSE = 114
 
const int  BORDER_LEFT = 11
 
const int  BORDER_RADIUS = 101
 
const int  BORDER_RIGHT = 12
 
const int  BORDER_TOP = 13
 
const int  BORDER_TOP_LEFT_RADIUS = 110
 
const int  BORDER_TOP_RIGHT_RADIUS = 111
 
const int  BOTTOM = 14
 
const int  BOX_SIZING = 105
 
const int  CAPTION_SIDE = 119
 
const int  CHARACTER_SPACING = 15
 
const int  CLEAR = 100
 
const int  COLLAPSING_MARGINS = 89
 
const int  COLSPAN = 16
 
const int  COLUMN_COUNT = 138
 
const int  COLUMN_WIDTH = 142
 
const int  COLUMN_GAP = 143
 
const int  COLUMN_GAP_BORDER = 144
 
const int  DESTINATION = 17
 
const int  FILL_AVAILABLE_AREA = 86
 
const int  FILL_AVAILABLE_AREA_ON_SPLIT = 87
 
const int  FIRST_LINE_INDENT = 18
 
const int  FLEX_BASIS = 131
 
const int  FLEX_GROW = 132
 
const int  FLEX_SHRINK = 127
 
const int  FLEX_WRAP = 128
 
const int  FLEX_DIRECTION = 139
 
const int  FLOAT = 99
 
const int  FLUSH_ON_DRAW = 19
 
const int  FONT = 20
  Font family as String or PdfFont shall be set. More...
 
const int  FONT_COLOR = 21
 
const int  FONT_KERNING = 22
 
const int  FONT_STYLE = 94
  String value. More...
 
const int  FONT_WEIGHT = 95
  String value. More...
 
const int  FONT_SCRIPT = 23
 
const int  FONT_PROVIDER = 91
  Shall be instance of iText.Layout.Font.FontProvider More...
 
const int  FONT_SET = 98
  Shall be instance of iText.Layout.Font.FontSet. More...
 
const int  FONT_SIZE = 24
 
const int  FORCED_PLACEMENT = 26
 
const int  FULL = 25
 
const int  HEIGHT = 27
 
const int  HORIZONTAL_ALIGNMENT = 28
 
const int  HORIZONTAL_BORDER_SPACING = 115
 
const int  HORIZONTAL_SCALING = 29
  Value of 1 is equivalent to no scaling More...
 
const int  HYPHENATION = 30
 
const int  ID = 126
 
const int  IGNORE_FOOTER = 96
 
const int  IGNORE_HEADER = 97
 
const int  ITALIC_SIMULATION = 31
 
const int  JUSTIFY_CONTENT = 133
 
const int  KEEP_TOGETHER = 32
 
const int  KEEP_WITH_NEXT = 81
 
const int  LEADING = 33
 
const int  LEFT = 34
 
const int  LINE_DRAWER = 35
 
const int  LINE_HEIGHT = 124
 
const int  LINK_ANNOTATION = 88
 
const int  LIST_START = 36
 
const int  LIST_SYMBOL = 37
 
const int  LIST_SYMBOL_ALIGNMENT = 38
 
const int  LIST_SYMBOL_INDENT = 39
 
const int  LIST_SYMBOL_ORDINAL_VALUE = 120
 
const int  LIST_SYMBOL_PRE_TEXT = 41
 
const int  LIST_SYMBOL_POSITION = 83
 
const int  LIST_SYMBOL_POST_TEXT = 42
 
const int  LIST_SYMBOLS_INITIALIZED = 40
 
const int  MARGIN_BOTTOM = 43
 
const int  MARGIN_LEFT = 44
 
const int  MARGIN_RIGHT = 45
 
const int  MARGIN_TOP = 46
 
const int  MAX_HEIGHT = 84
 
const int  MAX_WIDTH = 79
 
const int  META_INFO = 135
 
const int  MIN_HEIGHT = 85
 
const int  MIN_WIDTH = 80
 
const int  NO_SOFT_WRAP_INLINE = 118
 
const int  OBJECT_FIT = 125
 
const int  OPACITY = 92
 
const int  ORPHANS_CONTROL = 121
 
const int  OUTLINE = 106
 
const int  OUTLINE_OFFSET = 107
 
const int  OVERFLOW_WRAP = 102
 
const int  OVERFLOW_X = 103
 
const int  OVERFLOW_Y = 104
 
const int  PADDING_BOTTOM = 47
 
const int  PADDING_LEFT = 48
 
const int  PADDING_RIGHT = 49
 
const int  PADDING_TOP = 50
 
const int  PAGE_NUMBER = 51
 
const int  POSITION = 52
 
const int  RENDERING_MODE = 123
 
const int  RIGHT = 54
 
const int  ROTATION_ANGLE = 55
 
const int  ROTATION_INITIAL_HEIGHT = 56
 
const int  ROTATION_INITIAL_WIDTH = 57
 
const int  ROTATION_POINT_X = 58
 
const int  ROTATION_POINT_Y = 59
 
const int  ROWSPAN = 60
 
const int  SPACING_RATIO = 61
 
const int  SPLIT_CHARACTERS = 62
 
const int  STROKE_COLOR = 63
 
const int  STROKE_WIDTH = 64
 
const int  SKEW = 65
 
const int  TABLE_LAYOUT = 93
 
const int  TAB_ANCHOR = 66
 
const int  TAB_DEFAULT = 67
 
const int  TAB_LEADER = 68
 
const int  TAB_STOPS = 69
 
const int  TAGGING_HELPER = 108
 
const int  TAGGING_HINT_KEY = 109
 
const int  TEXT_ALIGNMENT = 70
 
const int  TEXT_RENDERING_MODE = 71
  Use values from iText.Kernel.Pdf.Canvas.PdfCanvasConstants.TextRenderingMode. More...
 
const int  TEXT_RISE = 72
 
const int  TOP = 73
 
const int  TRANSFORM = 53
 
const int  TYPOGRAPHY_CONFIG = 117
 
const int  UNDERLINE = 74
 
const int  VERTICAL_ALIGNMENT = 75
 
const int  VERTICAL_BORDER_SPACING = 116
 
const int  INLINE_VERTICAL_ALIGNMENT = 136
 
const int  VERTICAL_SCALING = 76
  Value of 1 is equivalent to no scaling More...
 
const int  WIDOWS_CONTROL = 122
 
const int  WIDTH = 77
 
const int  WORD_SPACING = 78
 
const int  ADD_MARKED_CONTENT_TEXT = 137
 
const int  TREAT_AS_CONTINUOUS_CONTAINER = 140
 
const int  TREAT_AS_CONTINUOUS_CONTAINER_RESULT = 141
 

Detailed Description

An enum of property names that are used for graphical properties of layout elements.

An enum of property names that are used for graphical properties of layout elements. The iText.Layout.IPropertyContainer performs the same function as an System.Collections.IDictionary , with the values of Property as its potential keys.

Member Function Documentation

◆ IsPropertyInherited()

static bool iText.Layout.Properties.Property.IsPropertyInherited ( int  property )
inlinestatic

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).

Parameters
property the ID, defined in this class, of the property to check
Returns
whether the property type is inheritable

Member Data Documentation

◆ FONT

const int iText.Layout.Properties.Property.FONT = 20
static

Font family as String or PdfFont shall be set.

See also
iText.IO.Font.Constants.StandardFontFamilies

◆ FONT_PROVIDER

const int iText.Layout.Properties.Property.FONT_PROVIDER = 91
static

Shall be instance of iText.Layout.Font.FontProvider

◆ FONT_SET

const int iText.Layout.Properties.Property.FONT_SET = 98
static

Shall be instance of iText.Layout.Font.FontSet.

◆ FONT_STYLE

const int iText.Layout.Properties.Property.FONT_STYLE = 94
static

String value.

String value. 'normal'|'italic'|'oblique' Note, this property will be applied only if FONT has String[] value.

◆ FONT_WEIGHT

const int iText.Layout.Properties.Property.FONT_WEIGHT = 95
static

String value.

String value. 'normal'|'bold'|number Note, this property will be applied only if FONT has String[] value.

◆ HORIZONTAL_SCALING

const int iText.Layout.Properties.Property.HORIZONTAL_SCALING = 29
static

Value of 1 is equivalent to no scaling

◆ TEXT_RENDERING_MODE

const int iText.Layout.Properties.Property.TEXT_RENDERING_MODE = 71
static

◆ VERTICAL_SCALING

const int iText.Layout.Properties.Property.VERTICAL_SCALING = 76
static

Value of 1 is equivalent to no scaling