Class RtfBorder
- Namespace
- iTextSharp.text.rtf.table
- Assembly
- iTextSharp.LGPLv2.Core.dll
The RtfBorder handle one row or cell border. INTERNAL USE ONLY @version \(Version:\) @author Mark Hall (Mark.Hall@mail.room3b.eu) @author Unknown
public class RtfBorder : RtfElement, IRtfBasicElement, IRtfElementInterface
- Inheritance
-
RtfBorder
- Implements
- Inherited Members
Constructors
RtfBorder(RtfDocument, int, int, int, float, BaseColor)
Constructs a RtfBorder
protected RtfBorder(RtfDocument doc, int borderType, int borderPosition, int borderStyle, float borderWidth, BaseColor borderColor)
Parameters
doc
RtfDocumentThe RtfDocument this RtfBorder belongs to
borderType
intThe type of border this RtfBorder is
borderPosition
intThe position of this RtfBorder
borderStyle
intThe style of this RtfBorder
borderWidth
floatThe width of this RtfBorder
borderColor
BaseColorThe colour of this RtfBorder
RtfBorder(RtfDocument, int, RtfBorder)
Makes a copy of the given RtfBorder
protected RtfBorder(RtfDocument doc, int borderType, RtfBorder border)
Parameters
doc
RtfDocumentThe RtfDocument this RtfBorder belongs to
borderType
intThe border type of this RtfBorder
border
RtfBorderThe RtfBorder to copy
Fields
BORDER_DASHED
Constant for a dashed border
public const int BORDER_DASHED = 5
Field Value
BORDER_DOTTED
Constant for a dotted border
public const int BORDER_DOTTED = 4
Field Value
BORDER_DOT_DASH
Constant for a dot dash border
public const int BORDER_DOT_DASH = 8
Field Value
BORDER_DOT_DOT_DASH
Constant for a dot dot dash border
public const int BORDER_DOT_DOT_DASH = 9
Field Value
BORDER_DOUBLE
Constant for a double border
public const int BORDER_DOUBLE = 7
Field Value
BORDER_DOUBLE_THICK
Constant for a double thick border
public const int BORDER_DOUBLE_THICK = 2
Field Value
BORDER_DOUBLE_WAVY
Constant for a double wavy border
public const int BORDER_DOUBLE_WAVY = 21
Field Value
BORDER_EMBOSS
Constant for an embossed border
public const int BORDER_EMBOSS = 23
Field Value
BORDER_ENGRAVE
Constant for an engraved border
public const int BORDER_ENGRAVE = 24
Field Value
BORDER_HAIRLINE
Constant for a hairline border
public const int BORDER_HAIRLINE = 6
Field Value
BORDER_NONE
Constant for a border with no border
public const int BORDER_NONE = 0
Field Value
BORDER_SHADOWED
Constant for a shadowed border
public const int BORDER_SHADOWED = 3
Field Value
BORDER_SINGLE
Constant for a single border
public const int BORDER_SINGLE = 1
Field Value
BORDER_STRIPED
Constant for a striped border
public const int BORDER_STRIPED = 22
Field Value
BORDER_THICK_THIN
Constant for a thick thin border
public const int BORDER_THICK_THIN = 11
Field Value
BORDER_THICK_THIN_LARGE
Constant for a thick thin large border
public const int BORDER_THICK_THIN_LARGE = 17
Field Value
BORDER_THICK_THIN_MED
Constant for a thick thin medium border
public const int BORDER_THICK_THIN_MED = 14
Field Value
BORDER_THIN_THICK
Constant for a thin thick border
public const int BORDER_THIN_THICK = 12
Field Value
BORDER_THIN_THICK_LARGE
Constant for a thin thick large border
public const int BORDER_THIN_THICK_LARGE = 18
Field Value
BORDER_THIN_THICK_MED
Constant for a thin thick medium border
public const int BORDER_THIN_THICK_MED = 15
Field Value
BORDER_THIN_THICK_THIN
Constant for a thin thick thin border
public const int BORDER_THIN_THICK_THIN = 13
Field Value
BORDER_THIN_THICK_THIN_LARGE
Constant for a thin thick thin large border
public const int BORDER_THIN_THICK_THIN_LARGE = 19
Field Value
BORDER_THIN_THICK_THIN_MED
Constant for a thin thick thin medium border
public const int BORDER_THIN_THICK_THIN_MED = 16
Field Value
BORDER_TRIPLE
Constant for a triple border
public const int BORDER_TRIPLE = 10
Field Value
BORDER_WAVY
Constant for a wavy border
public const int BORDER_WAVY = 20
Field Value
BOTTOM_BORDER
Constant for a bottom border
protected const int BOTTOM_BORDER = 8
Field Value
BOX_BORDER
Constant for a box (left, top, right, bottom) border
protected const int BOX_BORDER = 15
Field Value
BorderColorNumber
Constant for the border colour number
protected static readonly byte[] BorderColorNumber
Field Value
- byte[]
BorderStyleDashed
Constant for the dashed border style
protected static readonly byte[] BorderStyleDashed
Field Value
- byte[]
BorderStyleDotDash
Constant for the dot dash border style
protected static readonly byte[] BorderStyleDotDash
Field Value
- byte[]
BorderStyleDotDotDash
Constant for the dot dot dash border style
protected static readonly byte[] BorderStyleDotDotDash
Field Value
- byte[]
BorderStyleDotted
Constant for the dotted border style
protected static readonly byte[] BorderStyleDotted
Field Value
- byte[]
BorderStyleDouble
Constant for the double border style
protected static readonly byte[] BorderStyleDouble
Field Value
- byte[]
BorderStyleDoubleThick
Constant for the double thick border style
protected static readonly byte[] BorderStyleDoubleThick
Field Value
- byte[]
BorderStyleDoubleWavy
Constant for the double wavy border style
protected static readonly byte[] BorderStyleDoubleWavy
Field Value
- byte[]
BorderStyleEmboss
Constant for the embossed border style
protected static readonly byte[] BorderStyleEmboss
Field Value
- byte[]
BorderStyleEngrave
Constant for the engraved border style
protected static readonly byte[] BorderStyleEngrave
Field Value
- byte[]
BorderStyleHairline
Constant for the hairline border style
protected static readonly byte[] BorderStyleHairline
Field Value
- byte[]
BorderStyleShadowed
Constant for the shadowed border style
protected static readonly byte[] BorderStyleShadowed
Field Value
- byte[]
BorderStyleSingle
Constant for the single border style
protected static readonly byte[] BorderStyleSingle
Field Value
- byte[]
BorderStyleStriped
Constant for the striped border style
protected static readonly byte[] BorderStyleStriped
Field Value
- byte[]
BorderStyleThickThin
Constant for the thick thin border style
protected static readonly byte[] BorderStyleThickThin
Field Value
- byte[]
BorderStyleThickThinLarge
Constant for the thick thin large border style
protected static readonly byte[] BorderStyleThickThinLarge
Field Value
- byte[]
BorderStyleThickThinMed
Constant for the thick thin medium border style
protected static readonly byte[] BorderStyleThickThinMed
Field Value
- byte[]
BorderStyleThinThick
Constant for the thin thick border style
protected static readonly byte[] BorderStyleThinThick
Field Value
- byte[]
BorderStyleThinThickLarge
Constant for the thin thick large border style
protected static readonly byte[] BorderStyleThinThickLarge
Field Value
- byte[]
BorderStyleThinThickMed
Constant for the thin thick medium border style
protected static readonly byte[] BorderStyleThinThickMed
Field Value
- byte[]
BorderStyleThinThickThin
Constant for the thin thick thin border style
protected static readonly byte[] BorderStyleThinThickThin
Field Value
- byte[]
BorderStyleThinThickThinLarge
Constant for the thin thick thin large border style
protected static readonly byte[] BorderStyleThinThickThinLarge
Field Value
- byte[]
BorderStyleThinThickThinMed
Constant for the thin thick thin medium border style
protected static readonly byte[] BorderStyleThinThickThinMed
Field Value
- byte[]
BorderStyleTriple
Constant for the triple border style
protected static readonly byte[] BorderStyleTriple
Field Value
- byte[]
BorderStyleWavy
Constant for the wavy border style
protected static readonly byte[] BorderStyleWavy
Field Value
- byte[]
BorderWidth
Constant for the border width
protected static readonly byte[] BorderWidth
Field Value
- byte[]
CELL_BORDER
Constant for a cell border
protected const int CELL_BORDER = 2
Field Value
CellBorderBottom
Constant for the bottom cell border
protected static readonly byte[] CellBorderBottom
Field Value
- byte[]
CellBorderLeft
Constant for the left cell border
protected static readonly byte[] CellBorderLeft
Field Value
- byte[]
CellBorderRight
Constant for the right cell border
protected static readonly byte[] CellBorderRight
Field Value
- byte[]
CellBorderTop
Constant for the top cell border
protected static readonly byte[] CellBorderTop
Field Value
- byte[]
HORIZONTAL_BORDER
Constant for a horizontal line
protected const int HORIZONTAL_BORDER = 32
Field Value
LEFT_BORDER
Constant for a left border
protected const int LEFT_BORDER = 1
Field Value
NO_BORDER
This border is no border :-)
protected const int NO_BORDER = 0
Field Value
RIGHT_BORDER
Constant for a right border
protected const int RIGHT_BORDER = 4
Field Value
ROW_BORDER
Constant for a row border
protected const int ROW_BORDER = 1
Field Value
RowBorderBottom
Constant for the bottom row border
protected static readonly byte[] RowBorderBottom
Field Value
- byte[]
RowBorderHorizontal
Constant for the horizontal line
protected static readonly byte[] RowBorderHorizontal
Field Value
- byte[]
RowBorderLeft
Constant for the left row border
protected static readonly byte[] RowBorderLeft
Field Value
- byte[]
RowBorderRight
Constant for the right row border
protected static readonly byte[] RowBorderRight
Field Value
- byte[]
RowBorderTop
Constant for the top row border
protected static readonly byte[] RowBorderTop
Field Value
- byte[]
RowBorderVertical
Constant for the vertical line
protected static readonly byte[] RowBorderVertical
Field Value
- byte[]
TOP_BORDER
Constant for a top border
protected const int TOP_BORDER = 2
Field Value
VERTICAL_BORDER
Constant for a vertical line
protected const int VERTICAL_BORDER = 16
Field Value
Methods
GetBorderColor()
Gets the colour of this RtfBorder
protected RtfColor GetBorderColor()
Returns
- RtfColor
Returns RtfColor of this RtfBorder
GetBorderPosition()
Gets the position of this RtfBorder
protected int GetBorderPosition()
Returns
- int
Returns the position of this RtfBorder
GetBorderStyle()
Gets the style of this RtfBorder
protected int GetBorderStyle()
Returns
- int
Returns the style of this RtfBorder
GetBorderType()
Gets the type of this RtfBorder
protected int GetBorderType()
Returns
- int
Returns the type of this RtfBorder
GetBorderWidth()
Gets the width of this RtfBorder
protected int GetBorderWidth()
Returns
- int
Returns the width of this RtfBorder
WriteContent(Stream)
Writes the RtfBorder settings
public override void WriteContent(Stream outp)
Parameters
outp
Stream