B4J Programming Press on the image to return to the main documentation page.

jPDFjet

Written by Martin Pearman

jPDFjet is a PDF document authoring library.
jPDFjet wraps the PDFjet for Java library from http://pdfjet.com/.
The PDFjet for Java library is available under a fully functional paid for license, an evaluation license and also under a feature limited open source license.
jPDFjet supports all license versions.
jPDFjet is built around version 5.03 of the PDFjet for Java library.

List of types:

PDFjetAlign
PDFjetAnnotation
PDFjetBarCode
PDFjetBarCode2D
PDFjetBidi
PDFjetBorder
PDFjetBox
PDFjetCap
PDFjetCell
PDFjetCellList
PDFjetChart
PDFjetCheckBox
PDFjetCodePage
PDFjetColor
PDFjetCompliance
PDFjetCompositeTextLine
PDFjetConstants
PDFjetCoreFont
PDFjetDestination
PDFjetDimension
PDFjetEffect
PDFjetEmbed
PDFjetErrorCorrectLevel
PDFjetFont
PDFjetImage
PDFjetImageType
PDFjetJoin
PDFjetJPGImage
PDFjetLine
PDFjetOperation
PDFjetOptionalContentGroup
PDFjetPage
PDFjetPageSize
PDFjetParagraph
PDFjetPath
PDFjetPDF
PDFjetPDFImage
PDFjetPDFobj
PDFjetPNGImage
PDFjetPoint
PDFjetQRCode
PDFjetSegment
PDFjetTable
PDFjetTableData
PDFjetTextAlign
PDFjetTextBox
PDFjetTextColumn
PDFjetTextLine

PDFjetAlign


Events:

None

Members:


  CENTER As Int

  JUSTIFY As Int

  LEFT As Int

  RIGHT As Int

  ValueOf (Value As String) As Int

Members description:

CENTER As Int
JUSTIFY As Int
LEFT As Int
RIGHT As Int
ValueOf (Value As String) As Int

PDFjetAnnotation


Events:

None

Members:


  Initialize (URI As String, Key As String, X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)

  IsInitialized As Boolean

Members description:

Initialize (URI As String, Key As String, X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)
Initialize the Annotation object.
URI - The URI string.
Key - The destination name.
X1 - The X coordinate of the top left corner.
Y1 - The Y coordinate of the top left corner.
X2 - The X coordinate of the bottom right corner.
Y2 - The Y coordinate of the bottom right corner.
IsInitialized As Boolean

PDFjetBarCode


Events:

None

Members:


  BOTTOM_TO_TOP As Int

  CODE128 As Int

  CODE39 As Int

  DrawOn (PDFjetPage As com.pdfjet.Page)

  Initialize (Type As Int, String1 As String)

  IsInitialized As Boolean

  LEFT_TO_RIGHT As Int

  SetBarHeightFactor (Factor As Float)

  SetDirection (Direction As Int)

  SetFont (PDFjetFont As com.pdfjet.Font)

  SetModuleLength (Length As Float)

  SetPosition (X As Float, Y As Float)

  TOP_TO_BOTTOM As Int

  UPC As Int

Members description:

BOTTOM_TO_TOP As Int
CODE128 As Int
CODE39 As Int
DrawOn (PDFjetPage As com.pdfjet.Page)
Initialize (Type As Int, String1 As String)
IsInitialized As Boolean
LEFT_TO_RIGHT As Int
SetBarHeightFactor (Factor As Float)
SetDirection (Direction As Int)
SetFont (PDFjetFont As com.pdfjet.Font)
SetModuleLength (Length As Float)
SetPosition (X As Float, Y As Float)
TOP_TO_BOTTOM As Int
UPC As Int

PDFjetBarCode2D


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  Initialize (String1 As String)

  IsInitialized As Boolean

  SetPosition (X As Float, Y As Float)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
Initialize (String1 As String)
IsInitialized As Boolean
SetPosition (X As Float, Y As Float)

PDFjetBidi


Events:

None

Members:


  ReorderVisually (Text As String) As String

Members description:

ReorderVisually (Text As String) As String
Reorders the string so that Hebrew text flows from right to left while numbers and Latin text flow from left to right.

PDFjetBorder


Events:

None

Members:


  BOTTOM As Int

  LEFT As Int

  RIGHT As Int

  TOP As Int

  ValueOf (Value As String) As Int

Members description:

BOTTOM As Int
LEFT As Int
RIGHT As Int
TOP As Int
ValueOf (Value As String) As Int

PDFjetBox


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  Initialize

  Initialize2 (X As Float, Y As Float, Width As Float, Height As Float)

  IsInitialized As Boolean

  PlaceIn (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)

  ScaleBy (Factor As Float)

  SetColor (Color1 As Int)

  SetFillShape (Enable As Boolean)

  SetGoToAction (Key As String)

  SetLineWidth (Width As Float)

  SetPattern (Pattern As String)

  SetPosition (X As Float, Y As Float)

  SetSize (Width As Float, Height As Float)

  SetURIAction (Uri As String)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
Draws this Box on the specified Page.
Initialize
Initialize the Box object.
The Box object is used to create rectangular boxes on a Page.
Also used to for layout purposes.
See the PlaceIn method in the Image and TextLine classes.
Initialize2 (X As Float, Y As Float, Width As Float, Height As Float)
IsInitialized As Boolean
PlaceIn (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)
Places this Box in the another Box.
ScaleBy (Factor As Float)
Scales this box by the specified factor.
SetColor (Color1 As Int)
Sets the color for this box.
SetFillShape (Enable As Boolean)
SetGoToAction (Key As String)
Sets the destination key for the action.
SetLineWidth (Width As Float)
SetPattern (Pattern As String)
The line dash pattern controls the pattern of dashes and gaps used to stroke paths.
It is specified by a dash array and a dash phase.
The elements of the dash array are positive numbers that specify the lengths of
alternating dashes and gaps.
The dash phase specifies the distance into the dash pattern at which to start the dash.
The elements of both the dash array and the dash phase are expressed in user space units.

Examples of line dash patterns:

"[Array] Phase" Appearance Description
_______________ _________________ ____________________________________

"[] 0" ----------------- Solid line
"[3] 0" --- --- --- 3 units on, 3 units off, ...
"[2] 1" - -- -- -- -- 1 on, 2 off, 2 on, 2 off, ...
"[2 1] 0" -- -- -- -- -- -- 2 on, 1 off, 2 on, 1 off, ...
"[3 5] 6" --- --- 2 off, 3 on, 5 off, 3 on, 5 off, ...
"[2 3] 11" - -- -- -- 1 on, 3 off, 2 on, 3 off, 2 on, ...
SetPosition (X As Float, Y As Float)
Sets the position of this box on the page.
SetSize (Width As Float, Height As Float)
SetURIAction (Uri As String)
Sets the URL for the "click box" action.

PDFjetCap


Events:

None

Members:


  BUTT As Int

  PROJECTING_SQUARE As Int

  ROUND As Int

  ValueOf (Value As String) As Int

Members description:

BUTT As Int
PROJECTING_SQUARE As Int
ROUND As Int
ValueOf (Value As String) As Int

PDFjetCell


Events:

None

Members:


  GetBgColor As Int

  GetBorder (Border1 As Int) As Boolean

  GetBrushColor As Int

  GetColSpan As Int

  GetCompositeTextLine As PDFjetCompositeTextLine

  GetFont As PDFjetFont

  GetHeight As Float

  GetImage As PDFjetImage

  GetLineWidth As Float

  GetPenColor As Int

  GetPoint As PDFjetPoint

  GetStrikeout As Boolean

  GetText As String

  GetTextAlignment As Int

  GetUnderline As Boolean

  GetWidth As Float

  Initialize (PDFjetFont As com.pdfjet.Font)

  Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String)

  IsInitialized As Boolean

  SetBgColor (Color1 As Int)

  SetBorder (Border1 As Int, Visible As Boolean)

  SetBottomPadding (Padding As Float)

  SetBrushColor (Color1 As Int)

  SetColSpan (ColSpan As Int)

  SetCompositeTextLine (PDFjetCompositeTextLine As com.pdfjet.CompositeTextLine)

  SetFgColor (Color1 As Int)

  SetFont (PDFjetFont As com.pdfjet.Font)

  SetImage (PDFjetImage As com.pdfjet.Image)

  SetLeftPadding (Padding As Float)

  SetLineWidth (Width As Float)

  SetNoBorders

  SetPenColor (Color1 As Int)

  SetPoint (PDFjetPoint As com.pdfjet.Point)

  SetRightPadding (Padding As Float)

  SetStrikeout (Strikeout As Boolean)

  SetText (Text As String)

  SetTextAlignment (Alignment As Int)

  SetTopPadding (Padding As Float)

  SetUnderline (Underline As Boolean)

  SetWidth (Width As Float)

Members description:

GetBgColor As Int
Returns the background color of this cell.
GetBorder (Border1 As Int) As Boolean
Returns the Cell's Border object.
GetBrushColor As Int
GetColSpan As Int
GetCompositeTextLine As PDFjetCompositeTextLine
GetFont As PDFjetFont
GetHeight As Float
GetImage As PDFjetImage
GetLineWidth As Float
GetPenColor As Int
GetPoint As PDFjetPoint
GetStrikeout As Boolean
GetText As String
GetTextAlignment As Int
GetUnderline As Boolean
GetWidth As Float
Initialize (PDFjetFont As com.pdfjet.Font)
Initializes a Cell object and sets the Font.
Cell is used to create Table cell objects.
Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String)
Initializes a Cell object, sets the Font and the Cell text.
IsInitialized As Boolean
SetBgColor (Color1 As Int)
SetBorder (Border1 As Int, Visible As Boolean)
SetBottomPadding (Padding As Float)
SetBrushColor (Color1 As Int)
SetColSpan (ColSpan As Int)
SetCompositeTextLine (PDFjetCompositeTextLine As com.pdfjet.CompositeTextLine)
SetFgColor (Color1 As Int)
Sets both pen and brush colors to the specified color.
SetFont (PDFjetFont As com.pdfjet.Font)
SetImage (PDFjetImage As com.pdfjet.Image)
SetLeftPadding (Padding As Float)
SetLineWidth (Width As Float)
SetNoBorders
SetPenColor (Color1 As Int)
SetPoint (PDFjetPoint As com.pdfjet.Point)
SetRightPadding (Padding As Float)
SetStrikeout (Strikeout As Boolean)
SetText (Text As String)
SetTextAlignment (Alignment As Int)
SetTopPadding (Padding As Float)
SetUnderline (Underline As Boolean)
SetWidth (Width As Float)

PDFjetCellList


Events:

None

Members:


  Add (Cell1 As com.pdfjet.Cell)

  Clear

  CreateCell (PDFjetFont As com.pdfjet.Font) As PDFjetCell

  CreateCell2 (PDFjetFont As com.pdfjet.Font, Text As String) As PDFjetCell

  Get (Index As Int) As PDFjetCell

  IndexOf (Cell1 As com.pdfjet.Cell) As Int

  Initialize

  InsertAt (Index As Int, Cell1 As com.pdfjet.Cell)

  IsInitialized As Boolean

  Remove (Cell1 As com.pdfjet.Cell)

  RemoveAt (Index As Int)

  Set (Index As Int, Cell1 As com.pdfjet.Cell)

  Size As Int [read only]

Members description:

Add (Cell1 As com.pdfjet.Cell)
Clear
CreateCell (PDFjetFont As com.pdfjet.Font) As PDFjetCell
CreateCell2 (PDFjetFont As com.pdfjet.Font, Text As String) As PDFjetCell
Get (Index As Int) As PDFjetCell
IndexOf (Cell1 As com.pdfjet.Cell) As Int
Initialize
InsertAt (Index As Int, Cell1 As com.pdfjet.Cell)
IsInitialized As Boolean
Remove (Cell1 As com.pdfjet.Cell)
RemoveAt (Index As Int)
Set (Index As Int, Cell1 As com.pdfjet.Cell)
Size As Int [read only]

PDFjetChart


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetData As PDFjetPoint(,)

  Initialize (PDFjetFont1 As com.pdfjet.Font, PDFjetFont2 As com.pdfjet.Font)

  Intercept (Points As List, Slope As Float) As Float

  IsInitialized As Boolean

  SetData (Points As List)

  SetMaximumFractionDigits (Maximum As Int)

  SetMinimumFractionDigits (Maximum As Int)

  SetPosition (X As Int, Y As Int)

  SetSize (Width As Float, Height As Float)

  SetTitle (Title As String)

  SetXAxisTitle (Title As String)

  SetYAxisTitle (Title As String)

  Slope (Points As List) As Float

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetData As PDFjetPoint(,)
Initialize (PDFjetFont1 As com.pdfjet.Font, PDFjetFont2 As com.pdfjet.Font)
Intercept (Points As List, Slope As Float) As Float
IsInitialized As Boolean
SetData (Points As List)
SetMaximumFractionDigits (Maximum As Int)
SetMinimumFractionDigits (Maximum As Int)
SetPosition (X As Int, Y As Int)
SetSize (Width As Float, Height As Float)
SetTitle (Title As String)
SetXAxisTitle (Title As String)
SetYAxisTitle (Title As String)
Slope (Points As List) As Float

PDFjetCheckBox


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetHeight As Float

  GetWidth As Float

  GetX As Float

  GetY As Float

  Initialize (Checked As Boolean)

  Initialize2 (Checked As Boolean, Color As Int)

  Initialize3 (PDFjetFont As com.pdfjet.Font, Text As String)

  IsInitialized As Boolean

  SetBoxColor (Color As Int)

  SetCheckColor (Color As Int)

  SetChecked (Checked As Boolean)

  SetMarkType (MarkType As Int)

  SetPosition (X As Float, Y As Float)

  SetSize (Size As Float)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetHeight As Float
GetWidth As Float
GetX As Float
GetY As Float
Initialize (Checked As Boolean)
Creates a CheckBox, which can be set checked or unchecked.
Default check mark is blue.
Default box is black, default font size is 14.0f.
Initialize2 (Checked As Boolean, Color As Int)
Initialize3 (PDFjetFont As com.pdfjet.Font, Text As String)
IsInitialized As Boolean
SetBoxColor (Color As Int)
Sets the color of the check box.
SetCheckColor (Color As Int)
Sets the color of the check mark.
SetChecked (Checked As Boolean)
SetMarkType (MarkType As Int)
Sets the type of check mark.
MarkType - The type of check mark.
1 = check (the default), 2 = X.
SetPosition (X As Float, Y As Float)
SetSize (Size As Float)
Set the size of the CheckBox.

PDFjetCodePage


Events:

None

Members:


  CP1250 As Int

  CP1251 As Int

  CP1252 As Int

  CP1253 As Int

  CP1254 As Int

  CP1257 As Int

  UNICODE As Int

  ValueOf (Value As String) As Int

Members description:

CP1250 As Int
CP1251 As Int
CP1252 As Int
CP1253 As Int
CP1254 As Int
CP1257 As Int
UNICODE As Int
ValueOf (Value As String) As Int

PDFjetColor


Events:

None

Members:


  aliceblue As Int

  antiquewhite As Int

  aqua As Int

  aquamarine As Int

  azure As Int

  beige As Int

  bisque As Int

  black As Int

  blanchedalmond As Int

  blue As Int

  blueviolet As Int

  brown As Int

  burlywood As Int

  cadetblue As Int

  chartreuse As Int

  chocolate As Int

  coral As Int

  cornflowerblue As Int

  cornsilk As Int

  crimson As Int

  cyan As Int

  darkblue As Int

  darkcyan As Int

  darkgoldenrod As Int

  darkgray As Int

  darkgreen As Int

  darkgrey As Int

  darkkhaki As Int

  darkmagenta As Int

  darkolivegreen As Int

  darkorange As Int

  darkorchid As Int

  darkred As Int

  darksalmon As Int

  darkseagreen As Int

  darkslateblue As Int

  darkslategray As Int

  darkslategrey As Int

  darkturquoise As Int

  darkviolet As Int

  deeppink As Int

  deepskyblue As Int

  dimgray As Int

  dimgrey As Int

  dodgerblue As Int

  firebrick As Int

  floralwhite As Int

  forestgreen As Int

  fuchsia As Int

  gainsboro As Int

  ghostwhite As Int

  gold As Int

  goldenrod As Int

  gray As Int

  green As Int

  greenyellow As Int

  grey As Int

  honeydew As Int

  hotpink As Int

  indianred As Int

  indigo As Int

  ivory As Int

  khaki As Int

  lavender As Int

  lavenderblush As Int

  lawngreen As Int

  lemonchiffon As Int

  lightblue As Int

  lightcoral As Int

  lightcyan As Int

  lightgoldenrodyellow As Int

  lightgray As Int

  lightgreen As Int

  lightgrey As Int

  lightpink As Int

  lightsalmon As Int

  lightseagreen As Int

  lightskyblue As Int

  lightslategray As Int

  lightslategrey As Int

  lightsteelblue As Int

  lightyellow As Int

  lime As Int

  limegreen As Int

  linen As Int

  magenta As Int

  maroon As Int

  mediumaquamarine As Int

  mediumblue As Int

  mediumorchid As Int

  mediumpurple As Int

  mediumseagreen As Int

  mediumslateblue As Int

  mediumspringgreen As Int

  mediumturquoise As Int

  mediumvioletred As Int

  midnightblue As Int

  mintcream As Int

  mistyrose As Int

  moccasin As Int

  navajowhite As Int

  navy As Int

  oldgloryblue As Int

  oldgloryred As Int

  oldlace As Int

  olive As Int

  olivedrab As Int

  orange As Int

  orangered As Int

  orchid As Int

  palegoldenrod As Int

  palegreen As Int

  paleturquoise As Int

  palevioletred As Int

  papayawhip As Int

  peachpuff As Int

  peru As Int

  pink As Int

  plum As Int

  powderblue As Int

  purple As Int

  red As Int

  rosybrown As Int

  royalblue As Int

  saddlebrown As Int

  salmon As Int

  sandybrown As Int

  seagreen As Int

  seashell As Int

  sienna As Int

  silver As Int

  skyblue As Int

  slateblue As Int

  slategray As Int

  slategrey As Int

  snow As Int

  springgreen As Int

  steelblue As Int

  tan As Int

  teal As Int

  thistle As Int

  tomato As Int

  turquoise As Int

  ValueOf (Value As String) As Int

  violet As Int

  wheat As Int

  white As Int

  whitesmoke As Int

  yellow As Int

  yellowgreen As Int

Members description:

aliceblue As Int
antiquewhite As Int
aqua As Int
aquamarine As Int
azure As Int
beige As Int
bisque As Int
black As Int
blanchedalmond As Int
blue As Int
blueviolet As Int
brown As Int
burlywood As Int
cadetblue As Int
chartreuse As Int
chocolate As Int
coral As Int
cornflowerblue As Int
cornsilk As Int
crimson As Int
cyan As Int
darkblue As Int
darkcyan As Int
darkgoldenrod As Int
darkgray As Int
darkgreen As Int
darkgrey As Int
darkkhaki As Int
darkmagenta As Int
darkolivegreen As Int
darkorange As Int
darkorchid As Int
darkred As Int
darksalmon As Int
darkseagreen As Int
darkslateblue As Int
darkslategray As Int
darkslategrey As Int
darkturquoise As Int
darkviolet As Int
deeppink As Int
deepskyblue As Int
dimgray As Int
dimgrey As Int
dodgerblue As Int
firebrick As Int
floralwhite As Int
forestgreen As Int
fuchsia As Int
gainsboro As Int
ghostwhite As Int
gold As Int
goldenrod As Int
gray As Int
green As Int
greenyellow As Int
grey As Int
honeydew As Int
hotpink As Int
indianred As Int
indigo As Int
ivory As Int
khaki As Int
lavender As Int
lavenderblush As Int
lawngreen As Int
lemonchiffon As Int
lightblue As Int
lightcoral As Int
lightcyan As Int
lightgoldenrodyellow As Int
lightgray As Int
lightgreen As Int
lightgrey As Int
lightpink As Int
lightsalmon As Int
lightseagreen As Int
lightskyblue As Int
lightslategray As Int
lightslategrey As Int
lightsteelblue As Int
lightyellow As Int
lime As Int
limegreen As Int
linen As Int
magenta As Int
maroon As Int
mediumaquamarine As Int
mediumblue As Int
mediumorchid As Int
mediumpurple As Int
mediumseagreen As Int
mediumslateblue As Int
mediumspringgreen As Int
mediumturquoise As Int
mediumvioletred As Int
midnightblue As Int
mintcream As Int
mistyrose As Int
moccasin As Int
navajowhite As Int
navy As Int
oldgloryblue As Int
oldgloryred As Int
oldlace As Int
olive As Int
olivedrab As Int
orange As Int
orangered As Int
orchid As Int
palegoldenrod As Int
palegreen As Int
paleturquoise As Int
palevioletred As Int
papayawhip As Int
peachpuff As Int
peru As Int
pink As Int
plum As Int
powderblue As Int
purple As Int
red As Int
rosybrown As Int
royalblue As Int
saddlebrown As Int
salmon As Int
sandybrown As Int
seagreen As Int
seashell As Int
sienna As Int
silver As Int
skyblue As Int
slateblue As Int
slategray As Int
slategrey As Int
snow As Int
springgreen As Int
steelblue As Int
tan As Int
teal As Int
thistle As Int
tomato As Int
turquoise As Int
ValueOf (Value As String) As Int
violet As Int
wheat As Int
white As Int
whitesmoke As Int
yellow As Int
yellowgreen As Int

PDFjetCompliance


Events:

None

Members:


  PDF_A_1B As Int

Members description:

PDF_A_1B As Int

PDFjetCompositeTextLine


Events:

None

Members:


  AddComponent (PDFjetTextLine As com.pdfjet.TextLine)

  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetFontSize As Float

  GetHeight As Float

  GetMinMax As Float()

  GetNumberOfTextLines As Int

  GetPosition As Float()

  GetSubscriptFactor As Float

  GetSubscriptPosition As Float

  GetSuperscriptFactor As Float

  GetSuperscriptPosition As Float

  GetTextline (Index As Int) As PDFjetTextLine

  GetWidth As Float

  Initialize (X As Float, Y As Float)

  IsInitialized As Boolean

  SetFontSize (FontSize As Float)

  SetPosition (X As Float, Y As Float)

  SetSubscriptFactor (Factor As Float)

  SetSubscriptPosition (Position As Float)

  SetSuperscriptFactor (Factor As Float)

  SetSuperscriptPosition (Position As Float)

Members description:

AddComponent (PDFjetTextLine As com.pdfjet.TextLine)
DrawOn (PDFjetPage As com.pdfjet.Page)
GetFontSize As Float
GetHeight As Float
GetMinMax As Float()
Returns the vertical coordinates of the top left and bottom right corners of the bounding box of this CompositeTextLine.
GetNumberOfTextLines As Int
GetPosition As Float()
GetSubscriptFactor As Float
GetSubscriptPosition As Float
GetSuperscriptFactor As Float
GetSuperscriptPosition As Float
GetTextline (Index As Int) As PDFjetTextLine
GetWidth As Float
Initialize (X As Float, Y As Float)
Initialize the CompositeTextLine object.
IsInitialized As Boolean
SetFontSize (FontSize As Float)
SetPosition (X As Float, Y As Float)
SetSubscriptFactor (Factor As Float)
SetSubscriptPosition (Position As Float)
SetSuperscriptFactor (Factor As Float)
SetSuperscriptPosition (Position As Float)

PDFjetConstants


Events:

None

Members:


  Align As PDFjetAlign

  Border As PDFjetBorder

  Cap As PDFjetCap

  CodePage As PDFjetCodePage

  Color As PDFjetColor

  Compliance As PDFjetCompliance

  CoreFont As PDFjetCoreFont

  Effect As PDFjetEffect

  Embed As PDFjetEmbed

  ErrorCorrectLevel As PDFjetErrorCorrectLevel

  ImageType As PDFjetImageType

  Join As PDFjetJoin

  Operation As PDFjetOperation

  PageSize As PDFjetPageSize

  Segment As PDFjetSegment

  TextAlign As PDFjetTextAlign

Members description:

Align As PDFjetAlign
Border As PDFjetBorder
Cap As PDFjetCap
CodePage As PDFjetCodePage
Color As PDFjetColor
Compliance As PDFjetCompliance
CoreFont As PDFjetCoreFont
Effect As PDFjetEffect
Embed As PDFjetEmbed
ErrorCorrectLevel As PDFjetErrorCorrectLevel
ImageType As PDFjetImageType
Join As PDFjetJoin
Operation As PDFjetOperation
PageSize As PDFjetPageSize
Segment As PDFjetSegment
TextAlign As PDFjetTextAlign

PDFjetCoreFont


Events:

None

Members:


  COURIER As com.pdfjet.CoreFont

  COURIER_BOLD As com.pdfjet.CoreFont

  COURIER_BOLD_OBLIQUE As com.pdfjet.CoreFont

  COURIER_OBLIQUE As com.pdfjet.CoreFont

  HELVETICA As com.pdfjet.CoreFont

  HELVETICA_BOLD As com.pdfjet.CoreFont

  HELVETICA_BOLD_OBLIQUE As com.pdfjet.CoreFont

  HELVETICA_OBLIQUE As com.pdfjet.CoreFont

  SYMBOL As com.pdfjet.CoreFont

  TIMES_BOLD As com.pdfjet.CoreFont

  TIMES_BOLD_ITALIC As com.pdfjet.CoreFont

  TIMES_ITALIC As com.pdfjet.CoreFont

  TIMES_ROMAN As com.pdfjet.CoreFont

  ValueOf (Value As String) As com.pdfjet.CoreFont

  ZAPF_DINGBATS As com.pdfjet.CoreFont

Members description:

COURIER As com.pdfjet.CoreFont
COURIER_BOLD As com.pdfjet.CoreFont
COURIER_BOLD_OBLIQUE As com.pdfjet.CoreFont
COURIER_OBLIQUE As com.pdfjet.CoreFont
HELVETICA As com.pdfjet.CoreFont
HELVETICA_BOLD As com.pdfjet.CoreFont
HELVETICA_BOLD_OBLIQUE As com.pdfjet.CoreFont
HELVETICA_OBLIQUE As com.pdfjet.CoreFont
SYMBOL As com.pdfjet.CoreFont
TIMES_BOLD As com.pdfjet.CoreFont
TIMES_BOLD_ITALIC As com.pdfjet.CoreFont
TIMES_ITALIC As com.pdfjet.CoreFont
TIMES_ROMAN As com.pdfjet.CoreFont
ValueOf (Value As String) As com.pdfjet.CoreFont
ZAPF_DINGBATS As com.pdfjet.CoreFont

PDFjetDestination


Events:

None

Members:


  Initialize (Name As String, YPosition As Float)

  IsInitialized As Boolean

Members description:

Initialize (Name As String, YPosition As Float)
IsInitialized As Boolean

PDFjetDimension


Events:

None

Members:


  GetHeight As Float

  GetWidth As Float

  Initialize (Width As Float, Height As Float)

  IsInitialized As Boolean

Members description:

GetHeight As Float
GetWidth As Float
Initialize (Width As Float, Height As Float)
IsInitialized As Boolean

PDFjetEffect


Events:

None

Members:


  NORMAL As Int

  SUBSCRIPT As Int

  SUPERSCRIPT As Int

  ValueOf (Value As String) As Int

Members description:

NORMAL As Int
SUBSCRIPT As Int
SUPERSCRIPT As Int
ValueOf (Value As String) As Int

PDFjetEmbed


Events:

None

Members:


  NO As Boolean

  ValueOf (Value As String) As Int

  YES As Boolean

Members description:

NO As Boolean
ValueOf (Value As String) As Int
YES As Boolean

PDFjetErrorCorrectLevel


Events:

None

Members:


  H As Int

  L As Int

  M As Int

  Q As Int

  ValueOf (Value As String) As Int

Members description:

H As Int
L As Int
M As Int
Q As Int
ValueOf (Value As String) As Int

PDFjetFont


Events:

None

Members:


  GetAscent As Float

  GetBodyHeight As Float

  GetDescent As Float

  GetFitChars (Text As String, Width As Float) As Int

  GetHeight As Float

  GetSize As Float

  Initialize (PDFjetPDF As com.pdfjet.PDF, CoreFont1 As com.pdfjet.CoreFont)

  Initialize2 (PDFjetPDF As com.pdfjet.PDF, FontName As String, CodePage As Int)

  Initialize3 (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream)

  Initialize4 (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream, PDFjetCodePage As Int, Embed As Boolean)

  IsInitialized As Boolean

  SetItalic (Enable As Boolean)

  SetKernPairs (Enable As Boolean)

  SetSize (FontSize As Float)

  StringWidth (Text As String) As Float

  StringWidth2 (PDFjetFont As com.pdfjet.Font, Text As String) As Float

Members description:

GetAscent As Float
GetBodyHeight As Float
Returns the height of the body of the Font.
GetDescent As Float
GetFitChars (Text As String, Width As Float) As Int
Gets the number of characters from the specified string Text that will fit within the specified width.
GetHeight As Float
Returns the height of this Font.
GetSize As Float
Get or Set the current Font size.
Initialize (PDFjetPDF As com.pdfjet.PDF, CoreFont1 As com.pdfjet.CoreFont)
Initialize using a built in Font.
CoreFont1 - one of the PDFjetCoreFont constants.
Initialize2 (PDFjetPDF As com.pdfjet.PDF, FontName As String, CodePage As Int)
Initialize2 is used to create an Asian Font.
FontName - known working values are:
'AdobeMingStd-Light' - Chinese (Traditional).
'STHeitiSC-Light' - Chinese (Simplified).
'KozMinProVI-Regular' - Japanese.
'AdobeMyungjoStd-Medium' - Korean.
CodePage - 1 of the PDFjetCodePage constants.
Initialize3 (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream)
Initialize4 (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream, PDFjetCodePage As Int, Embed As Boolean)
IsInitialized As Boolean
SetItalic (Enable As Boolean)
SetKernPairs (Enable As Boolean)
Sets the kerning for the selected Font to True or False depending on the passed value.
SetSize (FontSize As Float)
StringWidth (Text As String) As Float
Returns the width of the specified String when drawn on the Page with this Font using the current Font size.
StringWidth2 (PDFjetFont As com.pdfjet.Font, Text As String) As Float

PDFjetImage


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetHeight As Float

  GetWidth As Float

  Initialize (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream, ImageType As Int)

  Initialize2 (PDFjetPDF As com.pdfjet.PDF, PDFjetJPGImage As com.pdfjet.JPGImage)

  IsInitialized As Boolean

  PlaceIn (PDFjetBox As com.pdfjet.Box)

  ScaleBy (Factor As Float)

  SetGotoAction (Key As String)

  SetPosition (X As Float, Y As Float)

  SetRotateCW90 (Enable As Boolean)

  SetURIAction (Uri As String)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetHeight As Float
GetWidth As Float
Initialize (PDFjetPDF As com.pdfjet.PDF, InputStream1 As java.io.InputStream, ImageType As Int)
Initialize the PDFjetImage object.
InputStream1 will be closed when this method completes.
Initialize2 (PDFjetPDF As com.pdfjet.PDF, PDFjetJPGImage As com.pdfjet.JPGImage)
Initialize the PDFjetJPGImage object.
Use of this method will result in reduced memory consumption and faster processing, however it currently only supports JPG images.
IsInitialized As Boolean
PlaceIn (PDFjetBox As com.pdfjet.Box)
ScaleBy (Factor As Float)
Scales this Image width and height by the specified factor.
SetGotoAction (Key As String)
Sets the destination key for the action.
SetPosition (X As Float, Y As Float)
SetRotateCW90 (Enable As Boolean)
SetURIAction (Uri As String)
Sets the URI for the "click box" action.

PDFjetImageType


Events:

None

Members:


  BMP As Int

  JPG As Int

  PDF As Int

  PNG As Int

  ValueOf (Value As String) As Int

Members description:

BMP As Int
JPG As Int
PDF As Int
PNG As Int
ValueOf (Value As String) As Int

PDFjetJoin


Events:

None

Members:


  BEVEL As Int

  MITER As Int

  ROUND As Int

  ValueOf (Value As String) As Int

Members description:

BEVEL As Int
MITER As Int
ROUND As Int
ValueOf (Value As String) As Int

PDFjetJPGImage


Events:

None

Members:


  Initialize (InputStream1 As java.io.InputStream)

  Initialize2 (PDFjetJPGImage As com.pdfjet.JPGImage, InputStream1 As java.io.InputStream)

  IsInitialized As Boolean

Members description:

Initialize (InputStream1 As java.io.InputStream)
Initialize the JPGImage object.
Initialize2 (PDFjetJPGImage As com.pdfjet.JPGImage, InputStream1 As java.io.InputStream)
IsInitialized As Boolean

PDFjetLine


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetCapStyle As Int

  GetEndPoint As PDFjetPoint

  GetStartPoint As PDFjetPoint

  Initialize (X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)

  IsInitialized As Boolean

  PlaceIn (PDFjetBox As com.pdfjet.Box)

  PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)

  ScaleBy (Factor As Float)

  SetCapsStyle (Style As Int)

  SetColor (Color As Int)

  SetEndPoint (X As Float, Y As Float)

  SetPattern (Pattern As String)

  SetStartPoint (X As Float, Y As Float)

  SetWidth (Width As Float)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetCapStyle As Int
GetEndPoint As PDFjetPoint
GetStartPoint As PDFjetPoint
Initialize (X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)
IsInitialized As Boolean
PlaceIn (PDFjetBox As com.pdfjet.Box)
Places this line in the specified box at position (0.0, 0.0).
PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)
Places this line in the specified box at the specified offset.
ScaleBy (Factor As Float)
SetCapsStyle (Style As Int)
SetColor (Color As Int)
SetEndPoint (X As Float, Y As Float)
SetPattern (Pattern As String)
The line dash pattern controls the pattern of dashes and gaps used to stroke paths.
SetStartPoint (X As Float, Y As Float)
SetWidth (Width As Float)

PDFjetOperation


Events:

None

Members:


  CLOSE As Char

  FILL As Char

  STROKE As Char

  ValueOf (Value As String) As Int

Members description:

CLOSE As Char
FILL As Char
STROKE As Char
ValueOf (Value As String) As Int

PDFjetOptionalContentGroup


Events:

None

Members:


  Add (PDFjetDrawable As com.pdfjet.Drawable)

  DrawOn (PDFjetPage As com.pdfjet.Page)

  Initialize (Name As String)

  IsInitialized As Boolean

  SetExportable (Exportable As Boolean)

  SetPrintable (Printable As Boolean)

  SetVisible (Visible As Boolean)

Members description:

Add (PDFjetDrawable As com.pdfjet.Drawable)
Add an object of type com.pdfjet.Drawable.
PDFjetDrawable - CompositeTextLine, Image, Line, Path, Point, QRCode, TextBox or TextLine.
DrawOn (PDFjetPage As com.pdfjet.Page)
Initialize (Name As String)
IsInitialized As Boolean
SetExportable (Exportable As Boolean)
SetPrintable (Printable As Boolean)
SetVisible (Visible As Boolean)

PDFjetPage


Events:

None

Members:


  AddDestination (Name As String, PositionY As Float)

  Append (Bytes() As Byte)

  BezierCurveTo (Point1 As com.pdfjet.Point, Point2 As com.pdfjet.Point, Point3 As com.pdfjet.Point)

  ClipPath

  ClipRect (X As Float, Y As Float, Width As Float, Height As Float)

  ClosePath

  DrawCircle (X As Float, Y As Float, Radius As Float)

  DrawCircle2 (X As Double, Y As Double, Radius As Double, Operand As Char)

  DrawEllipse (X As Float, Y As Float, RadiusX As Float, RadiusY As Float)

  DrawLine (X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)

  DrawPath (PDFjetPoints As List, Operand As Char)

  DrawPoint (Point1 As com.pdfjet.Point)

  DrawRect (X As Float, Y As Float, Width As Float, Height As Float)

  DrawRectRoundCorners (X As Float, Y As Float, Width As Float, Height As Float, Radius1 As Float, Radius2 As Float, Operand As Char)

  DrawString (PDFjetFont As com.pdfjet.Font, Text As String, X As Float, Y As Float)

  FillEllipse (X As Float, Y As Float, Radius1 As Float, Radius2 As Float)

  FillPath

  FillRect (X As Float, Y As Float, Width As Float, Height As Float)

  GetBrushColor As Float()

  GetHeight As Float

  GetWidth As Float

  Initialize (PDFjetPDF As com.pdfjet.PDF, PageSize() As Float)

  IsInitialized As Boolean

  LineTo (X As Float, Y As Float)

  MoveTo (X As Float, Y As Float)

  Print (Text As String)

  PrintLn

  PrintLn2 (Text As String)

  Restore

  Save

  SetArtBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)

  SetBleedBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)

  SetBrushColor (Color As Int)

  SetBrushColor2 (Red As Float, Green As Float, Blue As Float)

  SetBrushColor3 (Color() As Float)

  SetCharSpacing (Spacing As Float)

  SetCropBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)

  SetDefaultLinePattern

  SetDefaultLineWidth

  SetLineCapStyle (Style As Int)

  SetLineJoinStyle (Style As Int)

  SetLinePattern (Pattern As String)

  SetPenColor (Color As Int)

  SetPenColor2 (Red As Float, Green As Float, Blue As Float)

  SetPenWidth (Width As Float)

  SetTextBegin (X As Float, Y As Float)

  SetTextDirection (Degrees As Int)

  SetTextEnd

  SetTextFont (PDFjetFont As com.pdfjet.Font)

  SetTextLeading (Leading As Float)

  SetTextLocation (X As Float, Y As Float)

  SetTextRenderingMode (Mode As Int)

  SetTextRise (Rise As Float)

  SetTextScaling (Scaling As Float)

  SetTextStart

  SetTrimBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)

  SetWordSpacing (Spacing As Float)

  StrokePath

Members description:

AddDestination (Name As String, PositionY As Float)
Append (Bytes() As Byte)
Appends the specified array of bytes to the page.
BezierCurveTo (Point1 As com.pdfjet.Point, Point2 As com.pdfjet.Point, Point3 As com.pdfjet.Point)
Draws a bezier curve on the Page starting from the current point.
ClipPath
ClipRect (X As Float, Y As Float, Width As Float, Height As Float)
ClosePath
Closes the path and draws it using the current pen color.
DrawCircle (X As Float, Y As Float, Radius As Float)
Draw a circle on the Page using the current pen color.
DrawCircle2 (X As Double, Y As Double, Radius As Double, Operand As Char)
Draw a circle on the Page and fill it with the current brush color.
DrawEllipse (X As Float, Y As Float, RadiusX As Float, RadiusY As Float)
Draw an ellipse on the Page using the current pen color.
DrawLine (X1 As Float, Y1 As Float, X2 As Float, Y2 As Float)
Draw a line on the Page, using the current pen color, between the points (X1, Y1) and (X2, Y2).
DrawPath (PDFjetPoints As List, Operand As Char)
Draw or fills the specified path using the current pen or brush color.
DrawPoint (Point1 As com.pdfjet.Point)
Draw a point on the Page using the current pen color.
DrawRect (X As Float, Y As Float, Width As Float, Height As Float)
Draw the outline of the specified rectangle on the Page.
DrawRectRoundCorners (X As Float, Y As Float, Width As Float, Height As Float, Radius1 As Float, Radius2 As Float, Operand As Char)
DrawString (PDFjetFont As com.pdfjet.Font, Text As String, X As Float, Y As Float)
Draw the text using the specified Font and the current brush color.
FillEllipse (X As Float, Y As Float, Radius1 As Float, Radius2 As Float)
Fills an ellipse on the page using the current pen color.
FillPath
Closes and fills the path with the current brush color.
FillRect (X As Float, Y As Float, Width As Float, Height As Float)
Fills the specified rectangle on the page.
GetBrushColor As Float()
GetHeight As Float
GetWidth As Float
Initialize (PDFjetPDF As com.pdfjet.PDF, PageSize() As Float)
Initialize the Page object.
The coordinate (0.0, 0.0) is the top left corner of the page.
The size of the pages are represented in points.
1 point is 1/72 inches.
IsInitialized As Boolean
LineTo (X As Float, Y As Float)
Draw a line from the current pen position to the point with coordinates (X, Y), using the current pen width and stroke color.
MoveTo (X As Float, Y As Float)
Move the pen to the point with coordinates (X, Y) on the Page.
Print (Text As String)
Prints a line of text.
PrintLn
Move to the next line.
PrintLn2 (Text As String)
Prints a line of text and moves to the next line.
Restore
Save
SetArtBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)
Sets the page ArtBox.
SetBleedBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)
Sets the page BleedBox.
SetBrushColor (Color As Int)
Sets the color for brush operations.
SetBrushColor2 (Red As Float, Green As Float, Blue As Float)
SetBrushColor3 (Color() As Float)
SetCharSpacing (Spacing As Float)
SetCropBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)
Sets the page CropBox.
SetDefaultLinePattern
Set the default line dash pattern - solid line.
SetDefaultLineWidth
Set the line width to the default.
SetLineCapStyle (Style As Int)
Sets the current line cap style.
SetLineJoinStyle (Style As Int)
Sets the line join style.
SetLinePattern (Pattern As String)
The line dash pattern controls the pattern of dashes and gaps used to stroke paths.
SetPenColor (Color As Int)
Set the color for stroking operations.
SetPenColor2 (Red As Float, Green As Float, Blue As Float)
SetPenWidth (Width As Float)
Set the pen width that will be used to draw lines and splines on this Page.
SetTextBegin (X As Float, Y As Float)
SetTextDirection (Degrees As Int)
Set the text direction.
SetTextEnd
Sets the end of text block.
SetTextFont (PDFjetFont As com.pdfjet.Font)
SetTextLeading (Leading As Float)
SetTextLocation (X As Float, Y As Float)
SetTextRenderingMode (Mode As Int)
SetTextRise (Rise As Float)
SetTextScaling (Scaling As Float)
SetTextStart
SetTrimBox (UpperLeftX As Float, UpperLeftY As Float, LowerRightX As Float, LowerRightY As Float)
Sets the page TrimBox.
SetWordSpacing (Spacing As Float)
StrokePath
Draws the current path using the current pen color.

PDFjetPageSize


Events:

None

Members:


  A3_LANDSCAPE() As Float

  A3_PORTRAIT() As Float

  A4_LANDSCAPE() As Float

  A4_PORTRAIT() As Float

  A5_LANDSCAPE() As Float

  A5_PORTRAIT() As Float

  B5_LANDSCAPE() As Float

  B5_PORTRAIT() As Float

  Executive_LANDSCAPE() As Float

  Executive_PORTRAIT() As Float

  Legal_LANDSCAPE() As Float

  Legal_PORTRAIT() As Float

  Letter_LANDSCAPE() As Float

  Letter_PORTRAIT() As Float

  Tabloid_LANDSCAPE() As Float

  Tabloid_PORTRAIT() As Float

  ValueOf (Value As String) As Float()

Members description:

A3_LANDSCAPE() As Float
A3_PORTRAIT() As Float
A4_LANDSCAPE() As Float
A4_PORTRAIT() As Float
A5_LANDSCAPE() As Float
A5_PORTRAIT() As Float
B5_LANDSCAPE() As Float
B5_PORTRAIT() As Float
Executive_LANDSCAPE() As Float
Executive_PORTRAIT() As Float
Legal_LANDSCAPE() As Float
Legal_PORTRAIT() As Float
Letter_LANDSCAPE() As Float
Letter_PORTRAIT() As Float
Tabloid_LANDSCAPE() As Float
Tabloid_PORTRAIT() As Float
ValueOf (Value As String) As Float()

PDFjetParagraph


Events:

None

Members:


  Add (PDFjetTextLine As com.pdfjet.TextLine)

  Initialize

  IsInitialized As Boolean

  RemoveLastTextLine

  SetAlignment (Alignment As Int)

Members description:

Add (PDFjetTextLine As com.pdfjet.TextLine)
Initialize
IsInitialized As Boolean
RemoveLastTextLine
SetAlignment (Alignment As Int)

PDFjetPath


Events:

None

Members:


  Add (PDFjetPoint As com.pdfjet.Point)

  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetCurvePoints (X As Float, Y As Float, Radius1 As Float, Radius2 As Float, Segment As Int) As PDFjetPoint()

  GetLineCapStyle As Int

  GetLineJoinStyle As Int

  Initialize

  IsInitialized As Boolean

  PlaceIn (PDFjetBox As com.pdfjet.Box)

  PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)

  ScaleBy (Factor As Float)

  SetClosePath (ClosePath As Boolean)

  SetColor (Color As Int)

  SetFillShape (FillShape As Boolean)

  SetLineCapStyle (Style As Int)

  SetLineJoinStyle (Style As Int)

  SetPattern (Pattern As String)

  SetWidth (Width As Float)

Members description:

Add (PDFjetPoint As com.pdfjet.Point)
DrawOn (PDFjetPage As com.pdfjet.Page)
GetCurvePoints (X As Float, Y As Float, Radius1 As Float, Radius2 As Float, Segment As Int) As PDFjetPoint()
Returns an array containing the start point, first control point, second control point and the end point of elliptical curve segment.
GetLineCapStyle As Int
GetLineJoinStyle As Int
Initialize
IsInitialized As Boolean
PlaceIn (PDFjetBox As com.pdfjet.Box)
Places this path in the specified box at position (0.0, 0.0).
PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)
ScaleBy (Factor As Float)
SetClosePath (ClosePath As Boolean)
SetColor (Color As Int)
SetFillShape (FillShape As Boolean)
SetLineCapStyle (Style As Int)
SetLineJoinStyle (Style As Int)
SetPattern (Pattern As String)
SetWidth (Width As Float)

PDFjetPDF


Events:

CloseComplete(Success As Boolean)
FlushComplete(Success As Boolean)

Members:


  AddObjects (Objects As Map)

  AddPage (PDFjetPage As com.pdfjet.Page)

  Close

  Flush

  GetPageObjects (Objects As Map) As PDFjetPDFobj()

  Initialize (EventName As String, OutputStream1 As java.io.OutputStream)

  Initialize2 (EventName As String, OutputStream1 As java.io.OutputStream, PDFjetCompliance1 As Int)

  Initialize3

  IsInitialized As Boolean

  Read (InputStream1 As java.io.InputStream) As Map

  SetAuthor (Author As String)

  SetSubject (Subject As String)

  SetTitle (Title As String)

Members description:

AddObjects (Objects As Map)
AddPage (PDFjetPage As com.pdfjet.Page)
Close
Writes the PDF object to the output stream and closes it.
Raises the event CloseComplete(Success As Boolean).
Flush
Writes the PDF object to the output stream.
Raises the event FlushComplete(Success As Boolean).
GetPageObjects (Objects As Map) As PDFjetPDFobj()
Initialize (EventName As String, OutputStream1 As java.io.OutputStream)
Initialize the PDF object.
Used to create PDF documents.
Initialize2 (EventName As String, OutputStream1 As java.io.OutputStream, PDFjetCompliance1 As Int)
Initialize the PDF object.
Used to create PDF documents.
Initialize3
Initialize the PDF object.
Used to read PDF documents.
IsInitialized As Boolean
Read (InputStream1 As java.io.InputStream) As Map
Returns a list of objects of type PDFobj read from input stream.
Untested method - possible ClassCastException.
SetAuthor (Author As String)
Set the "Author" document property of the PDF file.
SetSubject (Subject As String)
Set the "Subject" document property of the PDF file.
SetTitle (Title As String)
Set the "Title" document property of the PDF file.

PDFjetPDFImage


Events:

None

Members:


  Initialize (Path As String, InputStream1 As java.io.InputStream, Size As Long)

  IsInitialized As Boolean

Members description:

Initialize (Path As String, InputStream1 As java.io.InputStream, Size As Long)
Used to construct images from pre-processed raw image data files.
IsInitialized As Boolean

PDFjetPDFobj


Events:

None

Members:


  AddContent (Content() As Byte, Objects As Map)

  AddFontResource (CoreFont1 As com.pdfjet.CoreFont, Objects As Map)

  GetData As Byte()

  GetDict As List

  GetPageSize As Float()

  GetValue (Key As String) As String

  Initialize (Offset As Int)

  IsInitialized As Boolean

Members description:

AddContent (Content() As Byte, Objects As Map)
AddFontResource (CoreFont1 As com.pdfjet.CoreFont, Objects As Map)
GetData As Byte()
Returns the uncompressed stream data.
GetDict As List
Returns the object dictionary.
GetPageSize As Float()
GetValue (Key As String) As String
Returns the parameter value given the specified key.
Initialize (Offset As Int)
IsInitialized As Boolean

PDFjetPNGImage


Events:

None

Members:


  Initialize (InputStream1 As java.io.InputStream)

  IsInitialized As Boolean

Members description:

Initialize (InputStream1 As java.io.InputStream)
IsInitialized As Boolean

PDFjetPoint


Events:

None

Members:


  BOX As Int

  CIRCLE As Int

  CONTROL_POINT As Boolean

  DIAMOND As Int

  DOWN_ARROW As Int

  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetAlignment As Int

  GetColor As Int

  GetFillShape As Boolean

  GetLinePattern As String

  GetLineWidth As Float

  GetRadius As Float

  GetShape As Int

  GetText As String

  GetTextColor As Int

  GetTextDirection As Int

  GetURIAction As String

  GetX As Float

  GetY As Float

  H_DASH As Int

  Initialize (X As Float, Y As Float)

  Initialize2 (X As Float, Y As Float, IsControlPoint As Boolean)

  INVISIBLE As Int

  IsInitialized As Boolean

  LEFT_ARROW As Int

  MULTIPLY As Int

  PlaceIn (PDFjetBox As com.pdfjet.Box)

  PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)

  PLUS As Int

  RIGHT_ARROW As Int

  SetAlignment (Alignment As Int)

  SetColor (Color As Int)

  SetDrawLineTo (Enable As Boolean)

  SetFillShape (Enable As Boolean)

  SetLinePattern (Pattern As String)

  SetLineWidth (Width As Float)

  SetPosition (X As Float, Y As Float)

  SetRadius (Radius As Float)

  SetShape (Shape As Int)

  SetStartOfPath

  SetText (Text As String)

  SetTextColor (TextColor As Int)

  SetTextDirection (TextDirection As Int)

  SetURIAction (URI As String)

  SetX (X As Float)

  SetY (Y As Float)

  STAR As Int

  UP_ARROW As Int

  V_DASH As Int

  X_MARK As Int

Members description:

BOX As Int
CIRCLE As Int
CONTROL_POINT As Boolean
DIAMOND As Int
DOWN_ARROW As Int
DrawOn (PDFjetPage As com.pdfjet.Page)
GetAlignment As Int
Returns the point alignment.
GetColor As Int
Returns the point color.
GetFillShape As Boolean
Returns the current value of the FillShape property.
GetLinePattern As String
Returns the line dash pattern.
GetLineWidth As Float
GetRadius As Float
GetShape As Int
GetText As String
GetTextColor As Int
GetTextDirection As Int
GetURIAction As String
GetX As Float
GetY As Float
H_DASH As Int
Initialize (X As Float, Y As Float)
Initialize2 (X As Float, Y As Float, IsControlPoint As Boolean)
INVISIBLE As Int
IsInitialized As Boolean
LEFT_ARROW As Int
MULTIPLY As Int
PlaceIn (PDFjetBox As com.pdfjet.Box)
Places this point in the specified box at position (0.0, 0.0).
PlaceIn2 (PDFjetBox As com.pdfjet.Box, XOffset As Float, YOffset As Float)
PLUS As Int
RIGHT_ARROW As Int
SetAlignment (Alignment As Int)
SetColor (Color As Int)
SetDrawLineTo (Enable As Boolean)
Deprecated. Please use the SetStartOfPath method.
SetFillShape (Enable As Boolean)
SetLinePattern (Pattern As String)
SetLineWidth (Width As Float)
SetPosition (X As Float, Y As Float)
SetRadius (Radius As Float)
SetShape (Shape As Int)
SetStartOfPath
Sets this point as the start of a path that will be drawn on the chart.
SetText (Text As String)
SetTextColor (TextColor As Int)
SetTextDirection (TextDirection As Int)
SetURIAction (URI As String)
Sets the URI for the "click point" action.
SetX (X As Float)
SetY (Y As Float)
STAR As Int
UP_ARROW As Int
V_DASH As Int
X_MARK As Int

PDFjetQRCode


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetData As Boolean(,)

  Initialize (TextToEncode As String, PDFjetErrorCorrection As Int)

  IsInitialized As Boolean

  SetModuleLength (ModuleLength As Float)

  SetPosition (X As Float, Y As Float)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetData As Boolean(,)
Initialize (TextToEncode As String, PDFjetErrorCorrection As Int)
IsInitialized As Boolean
SetModuleLength (ModuleLength As Float)
SetPosition (X As Float, Y As Float)

PDFjetSegment


Events:

None

Members:


  CLOCKWISE_00_03 As Int

  CLOCKWISE_03_06 As Int

  CLOCKWISE_06_09 As Int

  CLOCKWISE_09_12 As Int

  ValueOf (Value As String) As Int

Members description:

CLOCKWISE_00_03 As Int
CLOCKWISE_03_06 As Int
CLOCKWISE_06_09 As Int
CLOCKWISE_09_12 As Int
ValueOf (Value As String) As Int

PDFjetTable


Events:

None

Members:


  AutoAdjustColumnWidths

  DATA_HAS_0_HEADER_ROWS As Int

  DATA_HAS_1_HEADER_ROWS As Int

  DATA_HAS_2_HEADER_ROWS As Int

  DATA_HAS_3_HEADER_ROWS As Int

  DATA_HAS_4_HEADER_ROWS As Int

  DATA_HAS_5_HEADER_ROWS As Int

  DATA_HAS_6_HEADER_ROWS As Int

  DATA_HAS_7_HEADER_ROWS As Int

  DATA_HAS_8_HEADER_ROWS As Int

  DATA_HAS_9_HEADER_ROWS As Int

  DrawOn (PDFjetPage As com.pdfjet.Page) As PDFjetPoint

  GetCellAt (Row As Int, Column As Int) As PDFjetCell

  GetColumn (Index As Int) As PDFjetCellList

  GetColumnHeight (Index As Int) As Float

  GetColumnWidth (Index As Int) As Float

  GetNumberOfPages (PDFjetPage As com.pdfjet.Page) As Int

  GetRow (Index As Int) As PDFjetCellList

  GetRowsRendered As Int

  GetWidth As Float

  HasMoreData As Boolean

  Initialize

  IsInitialized As Boolean

  RemoveLineBetweenRows (Index1 As Int, Index2 As Int)

  ResetRenderedPageCount

  RightAlignNumbers

  SetBottomMargin (Margin As Float)

  SetCellBordersColor (Color As Int)

  SetCellBordersWidth (Width As Float)

  SetColumnWidth (Index As Int, Width As Float)

  SetData (TableData1 As java.util.List)

  SetData2 (TableData1 As java.util.List, NumOfHeaderRows As Int)

  SetFontInColumn (Index As Int, PDFjetFont As com.pdfjet.Font)

  SetFontInRow (Index As Int, PDFjetFont As com.pdfjet.Font)

  SetNoCellBorders

  SetPosition (X As Float, Y As Float)

  SetTextAlignInColumn (Index As Int, Alignment As Int)

  SetTextColorInColumn (Index As Int, Color1 As Int)

  SetTextColorInRow (Index As Int, Color1 As Int)

  WrapAroundCellText

Members description:

AutoAdjustColumnWidths
Auto adjusts the widths of all columns so that they are just wide enough to hold the text without truncation.
This method must be called after the SetData method, otherwise an Exception will occur.
DATA_HAS_0_HEADER_ROWS As Int
DATA_HAS_1_HEADER_ROWS As Int
DATA_HAS_2_HEADER_ROWS As Int
DATA_HAS_3_HEADER_ROWS As Int
DATA_HAS_4_HEADER_ROWS As Int
DATA_HAS_5_HEADER_ROWS As Int
DATA_HAS_6_HEADER_ROWS As Int
DATA_HAS_7_HEADER_ROWS As Int
DATA_HAS_8_HEADER_ROWS As Int
DATA_HAS_9_HEADER_ROWS As Int
DrawOn (PDFjetPage As com.pdfjet.Page) As PDFjetPoint
GetCellAt (Row As Int, Column As Int) As PDFjetCell
GetColumn (Index As Int) As PDFjetCellList
Returns a CellList for the specified column index.
GetColumnHeight (Index As Int) As Float
Returns the column height of the column at the specified index.
GetColumnWidth (Index As Int) As Float
Returns the column width of the column at the specified index.
GetNumberOfPages (PDFjetPage As com.pdfjet.Page) As Int
Returns the total number of pages that are required to draw this table on.
GetRow (Index As Int) As PDFjetCellList
Returns a CellList for the specified row index.
GetRowsRendered As Int
Returns the number of data rows that have been rendered so far.
GetWidth As Float
Returns the width of this table when drawn on a page.
HasMoreData As Boolean
Returns True if the table contains more data that needs to be drawn on a Page.
Initialize
IsInitialized As Boolean
RemoveLineBetweenRows (Index1 As Int, Index2 As Int)
Removes the horizontal lines between the rows from Index1 to Index2.
ResetRenderedPageCount
RightAlignNumbers
Sets the alignment of the numbers to the right.
SetBottomMargin (Margin As Float)
SetCellBordersColor (Color As Int)
SetCellBordersWidth (Width As Float)
SetColumnWidth (Index As Int, Width As Float)
SetData (TableData1 As java.util.List)
Sets the table data.
TableData1 - A TableData object.
SetData2 (TableData1 As java.util.List, NumOfHeaderRows As Int)
Sets the table data and specifies the number of header rows in this data.
TableData1 - A TableData object.
SetFontInColumn (Index As Int, PDFjetFont As com.pdfjet.Font)
Sets the font for the specified column.
SetFontInRow (Index As Int, PDFjetFont As com.pdfjet.Font)
Sets the font for the specified row.
SetNoCellBorders
SetPosition (X As Float, Y As Float)
Sets the position (X, Y) of the top left corner of this table on the page.
SetTextAlignInColumn (Index As Int, Alignment As Int)
Sets the text alignment in the specified column.
SetTextColorInColumn (Index As Int, Color1 As Int)
SetTextColorInRow (Index As Int, Color1 As Int)
WrapAroundCellText
Wraps around the text in all cells so it fits the column width.

PDFjetTableData


Events:

None

Members:


  AddRow (CellList1 As java.util.List)

  Clear

  GetColumn (Index As Int) As PDFjetCellList

  GetRow (Index As Int) As PDFjetCellList

  IndexOfRow (CellList1 As java.util.ArrayList) As Int

  Initialize

  InsertRowAt (Index As Int, CellList1 As java.util.ArrayList)

  IsInitialized As Boolean

  RemoveRow (CellList1 As java.util.ArrayList)

  RemoveRowAt (Index As Int)

  RowCount As Int [read only]

  SetRow (Index As Int, CellList1 As java.util.ArrayList)

Members description:

AddRow (CellList1 As java.util.List)
Add a CellList as a new row of data.
Clear
GetColumn (Index As Int) As PDFjetCellList
GetRow (Index As Int) As PDFjetCellList
IndexOfRow (CellList1 As java.util.ArrayList) As Int
Initialize
InsertRowAt (Index As Int, CellList1 As java.util.ArrayList)
IsInitialized As Boolean
RemoveRow (CellList1 As java.util.ArrayList)
RemoveRowAt (Index As Int)
RowCount As Int [read only]
SetRow (Index As Int, CellList1 As java.util.ArrayList)

PDFjetTextAlign


Events:

None

Members:


  BOTTOM As Int

  CENTER As Int

  TOP As Int

  ValueOf (Value As String) As Int

Members description:

BOTTOM As Int
CENTER As Int
TOP As Int
ValueOf (Value As String) As Int

PDFjetTextBox


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetBgColor As Int

  GetBorder (Border1 As Int) As Boolean

  GetBrushColor As Int

  GetFont As PDFjetFont

  GetHeight As Float

  GetLineWidth As Float

  GetMargin As Float

  GetPenColor As Int

  GetSpacing As Float

  GetStrikeout As Boolean

  GetText As String

  GetTextAlignment As Int

  GetUnderline As Boolean

  GetVerticalAlignment As Int

  GetWidth As Float

  GetX As Float

  GetY As Float

  Initialize (PDFjetFont As com.pdfjet.Font)

  Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String, Width As Float, Height As Float)

  IsInitialized As Boolean

  SetBgColor (BgColor As Int)

  SetBorder (Border1 As Int, Visible As Boolean)

  SetBrushColor (BrushColor As Int)

  SetFallbackFont (PDFjetFont As com.pdfjet.Font)

  SetFgColor (FgColor As Int)

  SetFont (PDFjetFont As com.pdfjet.Font)

  SetHeight (Height As Float)

  SetLineWidth (Width As Float)

  SetMargin (Margin As Float)

  SetNoBorders

  SetPenColor (PenColor As Int)

  SetPosition (X As Float, Y As Float)

  SetSpacing (Spacing As Float)

  SetStrikeOut (Enable As Boolean)

  SetText (Text As String)

  SetTextAlignment (Alignment As Int)

  SetUnderline (Enable As Boolean)

  SetVerticalAlignment (Alignment As Int)

  SetWidth (Width As Float)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
GetBgColor As Int
GetBorder (Border1 As Int) As Boolean
Returns the text box border.
GetBrushColor As Int
GetFont As PDFjetFont
GetHeight As Float
GetLineWidth As Float
GetMargin As Float
Returns the text box margin.
GetPenColor As Int
Returns the pen color as 0xRRGGBB integer.
GetSpacing As Float
Returns the spacing between lines of text.
GetStrikeout As Boolean
Returns whether a strike line will be drawn through the text.
GetText As String
Returns the text box text.
GetTextAlignment As Int
GetUnderline As Boolean
GetVerticalAlignment As Int
GetWidth As Float
GetX As Float
GetY As Float
Initialize (PDFjetFont As com.pdfjet.Font)
Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String, Width As Float, Height As Float)
IsInitialized As Boolean
SetBgColor (BgColor As Int)
SetBorder (Border1 As Int, Visible As Boolean)
SetBrushColor (BrushColor As Int)
SetFallbackFont (PDFjetFont As com.pdfjet.Font)
SetFgColor (FgColor As Int)
SetFont (PDFjetFont As com.pdfjet.Font)
SetHeight (Height As Float)
SetLineWidth (Width As Float)
SetMargin (Margin As Float)
SetNoBorders
SetPenColor (PenColor As Int)
SetPosition (X As Float, Y As Float)
SetSpacing (Spacing As Float)
SetStrikeOut (Enable As Boolean)
SetText (Text As String)
SetTextAlignment (Alignment As Int)
SetUnderline (Enable As Boolean)
SetVerticalAlignment (Alignment As Int)
SetWidth (Width As Float)

PDFjetTextColumn


Events:

None

Members:


  AddParagraph (PDFjetParagraph As com.pdfjet.Paragraph)

  DrawOn (PDFjetPage As com.pdfjet.Page) As PDFjetPoint

  DrawOn2 (PDFjetPage As com.pdfjet.Page, Draw As Boolean) As PDFjetPoint

  GetSize As PDFjetDimension

  Initialize

  Initialize2 (Rotate As Int)

  IsInitialized As Boolean

  RemoveLastParagraph

  SetAlignment (Alignment As Int)

  SetLineBetweenParagraphs (LineBetweenParagraphs As Boolean)

  SetLineSpacing (Spacing As Float)

  SetPosition (X As Float, Y As Float)

  SetSize (Width As Float, Height As Float)

  SetSpaceBetweenLines (Space As Float)

  SetSpaceBetweenParagraphs (Space As Float)

Members description:

AddParagraph (PDFjetParagraph As com.pdfjet.Paragraph)
DrawOn (PDFjetPage As com.pdfjet.Page) As PDFjetPoint
Draws this text column on the specified page.
DrawOn2 (PDFjetPage As com.pdfjet.Page, Draw As Boolean) As PDFjetPoint
Draws this text column on the specified page if the 'Draw' boolean value is 'true'.
GetSize As PDFjetDimension
Initialize
Initialize2 (Rotate As Int)
IsInitialized As Boolean
RemoveLastParagraph
SetAlignment (Alignment As Int)
SetLineBetweenParagraphs (LineBetweenParagraphs As Boolean)
SetLineSpacing (Spacing As Float)
SetPosition (X As Float, Y As Float)
SetSize (Width As Float, Height As Float)
SetSpaceBetweenLines (Space As Float)
SetSpaceBetweenParagraphs (Space As Float)

PDFjetTextLine


Events:

None

Members:


  DrawOn (PDFjetPage As com.pdfjet.Page)

  GetColor As Int

  GetDestinationY As Float

  GetFont As PDFjetFont

  GetGoToAction As String

  GetHeight As Float

  GetStrikeout As Boolean

  GetText As String

  GetTextEffect As Int

  GetUnderline As Boolean

  GetURIAction As String

  GetWidth As Float

  Initialize (PDFjetFont As com.pdfjet.Font)

  Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String)

  IsInitialized As Boolean

  PlaceIn (PDFjetBox As com.pdfjet.Box)

  SetColor (Color1 As Int)

  SetFallbackFont (PDFjetFont As com.pdfjet.Font)

  SetFont (PDFjetFont As com.pdfjet.Font)

  SetGoToAction (Key As String)

  SetPosition (X As Float, Y As Float)

  SetStrikeout (Enable As Boolean)

  SetText (Text As String)

  SetTextDirection (Degrees As Int)

  SetTextEffect (EffectName As Int)

  SetUnderline (Enable As Boolean)

  SetURIAction (URI As String)

Members description:

DrawOn (PDFjetPage As com.pdfjet.Page)
Draws this text line on the specified page.
GetColor As Int
GetDestinationY As Float
GetFont As PDFjetFont
GetGoToAction As String
GetHeight As Float
GetStrikeout As Boolean
GetText As String
GetTextEffect As Int
GetUnderline As Boolean
GetURIAction As String
GetWidth As Float
Initialize (PDFjetFont As com.pdfjet.Font)
Initialize2 (PDFjetFont As com.pdfjet.Font, Text As String)
IsInitialized As Boolean
PlaceIn (PDFjetBox As com.pdfjet.Box)
SetColor (Color1 As Int)
SetFallbackFont (PDFjetFont As com.pdfjet.Font)
SetFont (PDFjetFont As com.pdfjet.Font)
SetGoToAction (Key As String)
SetPosition (X As Float, Y As Float)
Sets the position where this text line will be drawn on the page.
SetStrikeout (Enable As Boolean)
SetText (Text As String)
SetTextDirection (Degrees As Int)
Sets the direction in which to draw the text.
SetTextEffect (EffectName As Int)
SetUnderline (Enable As Boolean)
SetURIAction (URI As String)
Sets the URI for the "click text line" action.
Top