Table of Contents

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 , with the values of Property as its potential keys.

Fields

ACTION

public const int ACTION = 1

Field Value

int

ADD_MARKED_CONTENT_TEXT

public const int ADD_MARKED_CONTENT_TEXT = 137

Field Value

int

ALIGN_CONTENT

public const int ALIGN_CONTENT = 130

Field Value

int

ALIGN_ITEMS

public const int ALIGN_ITEMS = 134

Field Value

int

ALIGN_SELF

public const int ALIGN_SELF = 129

Field Value

int

APPEARANCE_STREAM_LAYOUT

public const int APPEARANCE_STREAM_LAYOUT = 82

Field Value

int

AREA_BREAK_TYPE

public const int AREA_BREAK_TYPE = 2

Field Value

int

AUTO_SCALE

public const int AUTO_SCALE = 3

Field Value

int

AUTO_SCALE_HEIGHT

public const int AUTO_SCALE_HEIGHT = 4

Field Value

int

AUTO_SCALE_WIDTH

public const int AUTO_SCALE_WIDTH = 5

Field Value

int

BACKGROUND

public const int BACKGROUND = 6

Field Value

int

BACKGROUND_IMAGE

public const int BACKGROUND_IMAGE = 90

Field Value

int

BASE_DIRECTION

public const int BASE_DIRECTION = 7

Field Value

int

BOLD_SIMULATION

public const int BOLD_SIMULATION = 8

Field Value

int

BORDER

public const int BORDER = 9

Field Value

int

BORDER_BOTTOM

public const int BORDER_BOTTOM = 10

Field Value

int

BORDER_BOTTOM_LEFT_RADIUS

public const int BORDER_BOTTOM_LEFT_RADIUS = 113

Field Value

int

BORDER_BOTTOM_RIGHT_RADIUS

public const int BORDER_BOTTOM_RIGHT_RADIUS = 112

Field Value

int

BORDER_COLLAPSE

public const int BORDER_COLLAPSE = 114

Field Value

int

BORDER_LEFT

public const int BORDER_LEFT = 11

Field Value

int

BORDER_RADIUS

public const int BORDER_RADIUS = 101

Field Value

int

BORDER_RIGHT

public const int BORDER_RIGHT = 12

Field Value

int

BORDER_TOP

public const int BORDER_TOP = 13

Field Value

int

BORDER_TOP_LEFT_RADIUS

public const int BORDER_TOP_LEFT_RADIUS = 110

Field Value

int

BORDER_TOP_RIGHT_RADIUS

public const int BORDER_TOP_RIGHT_RADIUS = 111

Field Value

int

BOTTOM

public const int BOTTOM = 14

Field Value

int

BOX_SIZING

public const int BOX_SIZING = 105

Field Value

int

CAPTION_SIDE

public const int CAPTION_SIDE = 119

Field Value

int

CHARACTER_SPACING

public const int CHARACTER_SPACING = 15

Field Value

int

CLEAR

public const int CLEAR = 100

Field Value

int

COLLAPSING_MARGINS

public const int COLLAPSING_MARGINS = 89

Field Value

int

COLSPAN

public const int COLSPAN = 16

Field Value

int

COLUMN_COUNT

public const int COLUMN_COUNT = 138

Field Value

int

COLUMN_GAP

public const int COLUMN_GAP = 143

Field Value

int

COLUMN_GAP_BORDER

public const int COLUMN_GAP_BORDER = 144

Field Value

int

COLUMN_WIDTH

public const int COLUMN_WIDTH = 142

Field Value

int

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

int

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

int

FILL_AVAILABLE_AREA_ON_SPLIT

public const int FILL_AVAILABLE_AREA_ON_SPLIT = 87

Field Value

int

FIRST_LINE_INDENT

public const int FIRST_LINE_INDENT = 18

Field Value

int

FLEX_BASIS

public const int FLEX_BASIS = 131

Field Value

int

FLEX_DIRECTION

public const int FLEX_DIRECTION = 139

Field Value

int

FLEX_GROW

public const int FLEX_GROW = 132

Field Value

int

FLEX_SHRINK

public const int FLEX_SHRINK = 127

Field Value

int

FLEX_WRAP

public const int FLEX_WRAP = 128

Field Value

int

FLOAT

public const int FLOAT = 99

Field Value

int

FLUSH_ON_DRAW

public const int FLUSH_ON_DRAW = 19

Field Value

int

FONT

Font family as String or PdfFont shall be set.

public const int FONT = 20

Field Value

int
See Also

FONT_COLOR

public const int FONT_COLOR = 21

Field Value

int

FONT_KERNING

public const int FONT_KERNING = 22

Field Value

int

FONT_PROVIDER

Shall be instance of FontProvider

public const int FONT_PROVIDER = 91

Field Value

int

FONT_SCRIPT

public const int FONT_SCRIPT = 23

Field Value

int

FONT_SET

Shall be instance of FontSet.

public const int FONT_SET = 98

Field Value

int

FONT_SIZE

public const int FONT_SIZE = 24

Field Value

int

FONT_STYLE

String value.

public const int FONT_STYLE = 94

Field Value

int

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

int

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

int

FULL

public const int FULL = 25

Field Value

int

GRID_AUTO_COLUMNS

public const int GRID_AUTO_COLUMNS = 152

Field Value

int

GRID_AUTO_ROWS

public const int GRID_AUTO_ROWS = 151

Field Value

int

GRID_COLUMN_END

public const int GRID_COLUMN_END = 147

Field Value

int

GRID_COLUMN_SPAN

public const int GRID_COLUMN_SPAN = 155

Field Value

int

GRID_COLUMN_START

public const int GRID_COLUMN_START = 148

Field Value

int

GRID_FLOW

public const int GRID_FLOW = 154

Field Value

int

GRID_ROW_END

public const int GRID_ROW_END = 149

Field Value

int

GRID_ROW_SPAN

public const int GRID_ROW_SPAN = 156

Field Value

int

GRID_ROW_START

public const int GRID_ROW_START = 150

Field Value

int

GRID_TEMPLATE_COLUMNS

public const int GRID_TEMPLATE_COLUMNS = 145

Field Value

int

GRID_TEMPLATE_ROWS

public const int GRID_TEMPLATE_ROWS = 146

Field Value

int

HEIGHT

public const int HEIGHT = 27

Field Value

int

HORIZONTAL_ALIGNMENT

public const int HORIZONTAL_ALIGNMENT = 28

Field Value

int

HORIZONTAL_BORDER_SPACING

public const int HORIZONTAL_BORDER_SPACING = 115

Field Value

int

HORIZONTAL_SCALING

Value of 1 is equivalent to no scaling

public const int HORIZONTAL_SCALING = 29

Field Value

int

HYPHENATION

public const int HYPHENATION = 30

Field Value

int

ID

public const int ID = 126

Field Value

int
public const int IGNORE_FOOTER = 96

Field Value

int

IGNORE_HEADER

public const int IGNORE_HEADER = 97

Field Value

int

INLINE_VERTICAL_ALIGNMENT

public const int INLINE_VERTICAL_ALIGNMENT = 136

Field Value

int

ITALIC_SIMULATION

public const int ITALIC_SIMULATION = 31

Field Value

int

JUSTIFY_CONTENT

public const int JUSTIFY_CONTENT = 133

Field Value

int

KEEP_TOGETHER

public const int KEEP_TOGETHER = 32

Field Value

int

KEEP_WITH_NEXT

public const int KEEP_WITH_NEXT = 81

Field Value

int

LEADING

public const int LEADING = 33

Field Value

int

LEFT

public const int LEFT = 34

Field Value

int

LINE_DRAWER

public const int LINE_DRAWER = 35

Field Value

int

LINE_HEIGHT

public const int LINE_HEIGHT = 124

Field Value

int
public const int LINK_ANNOTATION = 88

Field Value

int

LIST_START

public const int LIST_START = 36

Field Value

int

LIST_SYMBOL

public const int LIST_SYMBOL = 37

Field Value

int

LIST_SYMBOLS_INITIALIZED

public const int LIST_SYMBOLS_INITIALIZED = 40

Field Value

int

LIST_SYMBOL_ALIGNMENT

public const int LIST_SYMBOL_ALIGNMENT = 38

Field Value

int

LIST_SYMBOL_INDENT

public const int LIST_SYMBOL_INDENT = 39

Field Value

int

LIST_SYMBOL_ORDINAL_VALUE

public const int LIST_SYMBOL_ORDINAL_VALUE = 120

Field Value

int

LIST_SYMBOL_POSITION

public const int LIST_SYMBOL_POSITION = 83

Field Value

int

LIST_SYMBOL_POST_TEXT

public const int LIST_SYMBOL_POST_TEXT = 42

Field Value

int

LIST_SYMBOL_PRE_TEXT

public const int LIST_SYMBOL_PRE_TEXT = 41

Field Value

int

MARGIN_BOTTOM

public const int MARGIN_BOTTOM = 43

Field Value

int

MARGIN_LEFT

public const int MARGIN_LEFT = 44

Field Value

int

MARGIN_RIGHT

public const int MARGIN_RIGHT = 45

Field Value

int

MARGIN_TOP

public const int MARGIN_TOP = 46

Field Value

int

MAX_HEIGHT

public const int MAX_HEIGHT = 84

Field Value

int

MAX_WIDTH

public const int MAX_WIDTH = 79

Field Value

int

META_INFO

public const int META_INFO = 135

Field Value

int

MIN_HEIGHT

public const int MIN_HEIGHT = 85

Field Value

int

MIN_WIDTH

public const int MIN_WIDTH = 80

Field Value

int

NO_SOFT_WRAP_INLINE

public const int NO_SOFT_WRAP_INLINE = 118

Field Value

int

OBJECT_FIT

public const int OBJECT_FIT = 125

Field Value

int

OPACITY

public const int OPACITY = 92

Field Value

int

ORPHANS_CONTROL

public const int ORPHANS_CONTROL = 121

Field Value

int

OUTLINE

public const int OUTLINE = 106

Field Value

int

OUTLINE_OFFSET

public const int OUTLINE_OFFSET = 107

Field Value

int

OVERFLOW_WRAP

public const int OVERFLOW_WRAP = 102

Field Value

int

OVERFLOW_X

public const int OVERFLOW_X = 103

Field Value

int

OVERFLOW_Y

public const int OVERFLOW_Y = 104

Field Value

int

PADDING_BOTTOM

public const int PADDING_BOTTOM = 47

Field Value

int

PADDING_LEFT

public const int PADDING_LEFT = 48

Field Value

int

PADDING_RIGHT

public const int PADDING_RIGHT = 49

Field Value

int

PADDING_TOP

public const int PADDING_TOP = 50

Field Value

int

PAGE_NUMBER

public const int PAGE_NUMBER = 51

Field Value

int

POSITION

public const int POSITION = 52

Field Value

int

RENDERING_MODE

public const int RENDERING_MODE = 123

Field Value

int

RIGHT

public const int RIGHT = 54

Field Value

int

ROTATION_ANGLE

public const int ROTATION_ANGLE = 55

Field Value

int

ROTATION_INITIAL_HEIGHT

public const int ROTATION_INITIAL_HEIGHT = 56

Field Value

int

ROTATION_INITIAL_WIDTH

public const int ROTATION_INITIAL_WIDTH = 57

Field Value

int

ROTATION_POINT_X

public const int ROTATION_POINT_X = 58

Field Value

int

ROTATION_POINT_Y

public const int ROTATION_POINT_Y = 59

Field Value

int

ROWSPAN

public const int ROWSPAN = 60

Field Value

int

ROW_GAP

public const int ROW_GAP = 153

Field Value

int

SKEW

public const int SKEW = 65

Field Value

int

SPACING_RATIO

public const int SPACING_RATIO = 61

Field Value

int

SPLIT_CHARACTERS

public const int SPLIT_CHARACTERS = 62

Field Value

int

STROKE_COLOR

public const int STROKE_COLOR = 63

Field Value

int

STROKE_WIDTH

public const int STROKE_WIDTH = 64

Field Value

int

TABLE_LAYOUT

public const int TABLE_LAYOUT = 93

Field Value

int

TAB_ANCHOR

public const int TAB_ANCHOR = 66

Field Value

int

TAB_DEFAULT

public const int TAB_DEFAULT = 67

Field Value

int

TAB_LEADER

public const int TAB_LEADER = 68

Field Value

int

TAB_STOPS

public const int TAB_STOPS = 69

Field Value

int

TAGGING_HELPER

public const int TAGGING_HELPER = 108

Field Value

int

TAGGING_HINT_KEY

public const int TAGGING_HINT_KEY = 109

Field Value

int

TEXT_ALIGNMENT

public const int TEXT_ALIGNMENT = 70

Field Value

int

TEXT_RENDERING_MODE

public const int TEXT_RENDERING_MODE = 71

Field Value

int

TEXT_RISE

public const int TEXT_RISE = 72

Field Value

int

TOP

public const int TOP = 73

Field Value

int

TRANSFORM

public const int TRANSFORM = 53

Field Value

int

TREAT_AS_CONTINUOUS_CONTAINER

public const int TREAT_AS_CONTINUOUS_CONTAINER = 140

Field Value

int

TREAT_AS_CONTINUOUS_CONTAINER_RESULT

public const int TREAT_AS_CONTINUOUS_CONTAINER_RESULT = 141

Field Value

int

TYPOGRAPHY_CONFIG

public const int TYPOGRAPHY_CONFIG = 117

Field Value

int

UNDERLINE

public const int UNDERLINE = 74

Field Value

int

VERTICAL_ALIGNMENT

public const int VERTICAL_ALIGNMENT = 75

Field Value

int

VERTICAL_BORDER_SPACING

public const int VERTICAL_BORDER_SPACING = 116

Field Value

int

VERTICAL_SCALING

Value of 1 is equivalent to no scaling

public const int VERTICAL_SCALING = 76

Field Value

int

WIDOWS_CONTROL

public const int WIDOWS_CONTROL = 122

Field Value

int

WIDTH

public const int WIDTH = 77

Field Value

int

WORD_SPACING

public const int WORD_SPACING = 78

Field Value

int

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 int

the ID, defined in this class, of the property to check

Returns

bool

whether the property type is inheritable