Format
Namespace
Colors
Commonly used colors
DocFields
Document format fields
TextFamilies
Portable font families
Class
FamilyTypeface
A typeface option for a font family
FontFamily
A font family
LinearTrend
A linear trend line
TrendLine
Trend line base class
Typeface
A font typeface
Flags
SourceSelectOptions
Rule for determining fill order
Constant
Align
'\u0008'
Backslash
\
Bold
TextWeight
:Bold
CarriageReturn
'\u000D'
Colon
:
ColonSpace
:
ColumnBreak
'\u0007'
Comma
,
CommaSpace
,
Dot
.
DotSpace
.
Empty
Italic
TextItalic
:
true
LineBreak
'\u000A'
PageBreak
'\u000C'
Quote
"
Space
' '
Tab
'\u0009'
Underline
TextUnderline
:Single
Function
DocFormatter
AlignBlock
(
enumerator
=
null
,
int
start
=
null
,
aligners
=
null
,
gap
=
null
)
A Block containing alignment markers
ArcTo
(
Point
end
,
Size
radius
,
angle
=0,
large
=
false
,
clockwise
=
false
)
An elliptic arc segment
DocFormatter
Block
A container that holds Paragraphs and Tables
Border
BorderAll
(
Edge
value
)
All edges
Border
BorderB
(
Edge
value
)
Bottom edge
Border
BorderL
(
Edge
value
)
Left edge
Border
BorderLB
(
Edge
value
)
Left and bottom edges
Border
BorderLR
(
Edge
value
)
Left and right edges
Border
BorderLT
(
Edge
value
)
Top and left edges
Border
BorderR
(
Edge
value
)
Right edge
Border
BorderRB
(
Edge
value
)
Right and bottom edges
Border
BorderT
(
Edge
value
)
Top edge
Border
BorderTB
(
Edge
value
)
Left and right edges
Border
BorderTR
(
Edge
value
)
Top and right edges
DocFormatter
ButtonControl
(
width
,
height
=
null
,
Border
border
=
null
)
Button control
DocFormatter
Canvas
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
A rectangular container that holds elements with arbitrary position
DocFormatter
Cell
(
Border
border
=
null
,
colspan
=
null
,
rowspan
=
null
)
A cell inside a Row
DocFormatter
Chart
(
width
,
height
,
Border
border
=
null
)
A chart containing one or more ChartSeries
DocFormatter
ChartAxis
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
Defines a Chart axis
DocFormatter
ChartLegend
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
Defines a chart legend
DocFormatter
ChartSeries
(
Fill
fill
=
null
,
Stroke
stroke
=
null
)
A data series that displays in a Chart
DocFormatter
CheckControl
(
PropertyValue
variable
=
null
,
flag
=
null
)
Checkbox control
DocFormatter
Cite
(
CiteOptions
options
=
null
)
A citation span that contains Reference facts
DocFormatter
ClosedPath
(
x
,
y
=
null
)
A closed path
CurveTo
(
Point
p1
,
Point
p2
,
Point
end
)
A bezier segment
DeviceAspects
DeviceAspect
Get the current document page aspect
DocFormatter
Document
(
Thickness
margin
=
null
,
bool
landscape
=
null
,
int
columns
=
null
,
colgap
=
null
,
gutter
=
null
,
Size
page
=
null
)
A complete document that contains sections
DocFormatter
DocumentEndnotes
(
header
,
EndnoteOptions
options
=
null
)
An endnote listing Block
DocFormatter
DocumentFigures
(
header
)
A table of included figures
DocFormatter
DocumentIndex
(
header
,
columns
=
null
,
TabLeaders
[]
leaders
=
null
)
An index block for the document
DocFormatter
DocumentTables
(
header
)
A table of included tables
DocFormatter
DoubleControl
(
PropertyValue
variable
=
null
,
width
,
height
=
null
,
Border
border
=
null
,
min
,
max
,
inc
=
null
)
Floating point edit control
DocFormatter
DropCap
(
lines
=
null
)
A span with an enlarged dropped letter
EllipsePath
(
Rect
bounds
)
An ellipse shape
double
ExtentHeight
Get current drawing extent height
Thickness
ExtentMargin
Get current drawing extent page size
Size
ExtentPage
Get current drawing extent margins
Size
ExtentSize
Get current drawing extent size
double
ExtentWidth
Get current drawing extent width
DocFormatter
Figure
(
width
,
height
,
Anchor
anchor
,
FigureOptions
options
,
Border
border
=
null
)
Add a figure or table to the document
DocFormatter
FitBox
(
value
,
width
=
null
,
height
=
null
,
Border
border
=
null
,
skew
=
false
)
Rezize and rescale an image to fit into a specific rectangle
DocFormatter
Footnote
A footnote
DocFormatter
Fraction
(
diagonal
=
false
,
compact
=
false
)
A canvas that draws a horizontal/diagonal line between its children
DocFormatter
Frame
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
A rectangular Block containing Paragraphs and Tables that fits in a Span
LangSymbol
[]
GetLangSymbols
(
Languages
language
)
Returns an array of user lang strings
Size
GetLayoutSize
(
value
,
Size
maxsize
=
null
)
Get computed layout size of the object
GetQuery
(
value
)
Get the search tree rooted at this item
Languages
[]
GetSupportedLanguages
Returns an array of supported languages
Node
GetTreeNodes
(
value
)
Get the resolved tree rooted at this item
DocFormatter
HBox
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
A canvas with a Direction of Horizontal
DocFormatter
IntControl
(
PropertyValue
variable
=
null
,
width
,
height
=
null
,
Border
border
=
null
,
min
,
max
,
inc
=
null
)
Integer edit control
LineTo
(
x
,
y
=
null
)
A line segment
DocFormatter
ListBlock
(
enumerator
=
null
,
int
start
=
null
,
textpos
=
null
,
markerpos
=
null
)
A Block containing enumerated items with a marker to the left
DocFormatter
ListItem
(
enumerator
=
null
,
int
start
=
null
)
An item inside a ListBlock
DocFormatter
ListSpan
(
enumerator
=
null
,
int
start
=
null
)
A Span containing enumerated items
string
LoremIpsum
(
count
)
Return count words of ipsum lorem text
DocFormatter
MarginBlock
(
distance
=
null
)
Defines a header or footer series for a section
DocFormatter
MatrixBox
(
Border
border
=
null
,
Column
column
=
null
)
A canvas that contains Rows and vertically aligns the columns
DocFormatter
MeasureControl
(
PropertyValue
variable
=
null
,
width
,
height
=
null
,
Border
border
=
null
,
min
,
max
,
units
,
MeasureOptions
options
=
null
)
Measure edit control (with units)
DocFormatter
Nary
Draws an operator with optional superscript, subscript and body elements
DocFormatter
OpenPath
(
x
,
y
=
null
)
An open shape containing elements (e.g. LineTo, QuadTo, CurveTo and ArcTo)
Thickness
PadAll
(
value
)
All sides
Thickness
PadB
(
value
)
Bottom only
Thickness
PadL
(
value
)
Left only
Thickness
PadLB
(
value
)
Left and bottom
Thickness
PadLR
(
value
)
Left and right only
Thickness
PadLT
(
value
)
Left and top
Thickness
PadR
(
value
)
Right only
Thickness
PadRB
(
value
)
Right and bottom
Thickness
PadT
(
value
)
Top only
Thickness
PadTB
(
value
)
Left and right only
Thickness
PadTR
(
value
)
Top and right
DocFormatter
Paragraph
(
Border
border
=
null
,
TabStop
[]
tabstops
=
null
)
A paragraph contains zero or more spans that wrap inside the left and right margins
PolygonPath
(
Rect
bounds
,
int
sides
,
double
angle
=
null
)
Regular n-sided polygon ShapePath starting at angle
void
PopExtent
Return old extent
void
PushExtentSize
(
Size
size
)
Set new extent size with zero margins
DocFormatter
QRBox
(
text
,
size
=
null
,
error
=
null
)
A QR code
QuadTo
(
Point
p1
,
Point
end
)
A quadratic curve segment
DocFormatter
Radical
Draws a square-root shape around is elements
DocFormatter
RadioControl
(
PropertyValue
variable
=
null
,
value
)
Radio button control
RectanglePath
(
Rect
bounds
,
Size
radius
=
null
,
inset
=
false
)
A rectanglular shape with optional rounded corners
DocFormatter
Row
(
Border
border
=
null
,
Border
cellborder
=
null
,
height
=
null
,
LineRules
rule
=
null
)
A horizontal container of Cells
DocFormatter
SectionContinuous
(
columns
=
null
,
colgap
=
null
,
gutter
=
null
)
Creates a new section on the same page
DocFormatter
SectionEvenPage
(
Thickness
margin
=
null
,
bool
landscape
=
null
,
int
columns
=
null
,
colgap
=
null
,
gutter
=
null
,
Size
page
=
null
)
Creates a new section starting on the next even page
DocFormatter
SectionNextPage
(
Thickness
margin
=
null
,
bool
landscape
=
null
,
int
columns
=
null
,
colgap
=
null
,
gutter
=
null
,
Size
page
=
null
)
Creates a new section with a page break
DocFormatter
SectionOddPage
(
Thickness
margin
=
null
,
bool
landscape
=
null
,
int
columns
=
null
,
colgap
=
null
,
gutter
=
null
,
Size
page
=
null
)
Creates a new section starting on the next odd page
DocFormatter
Shape
(
Fill
fill
=
null
,
Stroke
stroke
=
null
,
FillRules
fillrule
=
null
,
width
=
null
,
height
=
null
)
A container for ShapePaths
DocFormatter
SliderControl
(
PropertyValue
variable
=
null
,
width
,
height
=
null
,
Border
border
=
null
,
values
)
Sliding range control
SourceExtent
SourceSelection
(
value
,
Format
.
SourceSelectOptions
options
=
null
)
The source code selection of a variable or function
SourceExtent
SourceSelectionLines
(
path
=
null
,
int
beginline
=
null
,
int
endline
=
null
)
The source code selection of a file
DocFormatter
Span
A collection of text runs inside a paragraph
Symbol
(
symbol
,
description
=
null
)
A symbolic object that can be used in equations
DocFormatter
Table
(
Border
border
=
null
,
Border
cellborder
=
null
,
Column
[]
columns
=
null
)
A container for Rows and Columns
DocFormatter
TextBlock
A Block with fixed-width formatting
DocFormatter
TextControl
(
PropertyValue
variable
=
null
,
width
,
height
=
null
,
Border
border
=
null
,
TextControlOptions
options
=
null
)
Text edit control
DocFormatter
TreeBox
(
width
,
height
,
Border
border
=
null
)
Draws a tree structure with its Root elements
DocFormatter
VBox
(
width
=
null
,
height
=
null
,
Border
border
=
null
)
A canvas with a Direction of Vertical