PDFOut Help File


Table of Contents

PDFOut.AddPage
PDFOut.DisplayPreferences
PDFOut.DrawCircle
PDFOut.DrawEllipse
PDFOut.DrawLine
PDFOut.DrawRectangle
PDFOut.PrintImage
PDFOut.PrintText
PDFOut.PrintAligned
PDFOut.PrintTextRotated
PDFOut.SetDisplayMode
PDFOut.SetFont
PDFOut.SetFontColor
PDFOut.SetMargins
PDFOut.SetUnits
PDFOut.SetXY
PDFOut.WritePDF
PDFOut.WriteText

PDFOut.AddPage


PDFOut.AddPage ()

Description

Add a new page

Parameters

None


Return

This action dose not return any value.



PDFOut.DisplayPreferences


PDFOut.DisplayPreferences ( 

(boolean) Full Screen = false,

(boolean) Hide Menu Bar = false,

(boolean) Hide Toolbar = false,

(boolean) Hide Window UI = false,

(boolean) Display Doc Title = false,

(boolean) Center Window = false,

(boolean) Fit Window = false )

Description

Set display preferences

Parameters

Full Screen

(boolean) displays the document full-screen (escape key to restore the normal view)

Hide Menu Bar

(boolean) hides the menu

Hide Toolbar

(boolean) hides all toolbars

Hide Window UI

(boolean) hides all window elements (scrollbars, navigation controls, bookmarks...)

Display Doc Title

(boolean) displays the document document title instead of the filename

Center Window

(boolean) Centers the window, no effect on web plugin

Fit Window

(boolean) sizes the window to fit the page


Return

This action dose not return any value.



PDFOut.DrawCircle


PDFOut.DrawCircle ( 

(number) X position,

(number) Y position = 0,

(number) Radius = 0,

(number) Draw Width = 0,

(number) Draw Color = 0,

(number) Fill Color = 0,

(string) Draw Style = "DRAW" )

Description

Draw a circle

Parameters

X position

(number) The X position of the center of the circle in the unit of measure

Y position

(number) The Y position of the center of the circle in unit of measure

Radius

(number) The radius in the unit of measure.

Draw Width

(number) The width of the drawing line in unit of measure

Draw Color

(number) The color used to draw the rectangle.

Fill Color

(number) The color used to fill the rectangle.

Draw Style

(string) The style used to draw the rectangle.


Return

This action dose not return any value.



PDFOut.DrawEllipse


PDFOut.DrawEllipse ( 

(number) X position,

(number) Y position = 0,

(number) Radius X = 0,

(number) Radius Y = 0,

(number) Draw Width = 0,

(number) Draw Color = 0,

(number) Fill Color = 0,

(string) Draw Style = "DRAW" )

Description

Draw an ellipse

Parameters

X position

(number) The X position that is the center of the ellipse in the unit of measure

Y position

(number) The Y position that is the center of the ellipse in the unit of measure

Radius X

(number) The radius on the X axis in the unit of measure.

Radius Y

(number) The radius on the Y axis in unit of measure

Draw Width

(number) The width of the drawing line in unit of measure

Draw Color

(number) The color used to draw the rectangle.

Fill Color

(number) The color used to fill the rectangle.

Draw Style

(string) The style used to draw the rectangle.


Return

This action dose not return any value.



PDFOut.DrawLine


PDFOut.DrawLine ( 

(number) X position,

(number) Y position = 0,

(number) X2 Position = 0,

(number) Y2 = 0,

(number) Draw Width = 0,

(number) Draw Color = 0 )

Description

Draw a line

Parameters

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure

X2 Position

(number) The second X position in unit of measure

Y2

(number) The second Y position in unit of measure

Draw Width

(number) The width of the drawing line in unit of measure

Draw Color

(number) The color used to draw the rectangle.


Return

This action dose not return any value.



PDFOut.DrawRectangle


PDFOut.DrawRectangle ( 

(number) X position,

(number) Y position = 0,

(number) Width = 0,

(number) Height = 0,

(number) Draw Width = 0,

(number) Draw Color = 0,

(number) Fill Color = 0,

(string) Draw Style = "DRAW" )

Description

Draw a rectangle

Parameters

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure

Width

(number) The width in the unit of measure. Set to 0 to have the image scaled to width.

Height

(number) The height in unit of measure. Set to 0 to have the image scaled to height.

Draw Width

(number) The width of the drawing line in unit of measure

Draw Color

(number) The color used to draw the rectangle.

Fill Color

(number) The color used to fill the rectangle.

Draw Style

(string) The style used to draw the rectangle.


Return

This action dose not return any value.



PDFOut.PrintImage


PDFOut.PrintImage ( 

(string) Filename,

(number) X position = 0,

(number) Y position = 0,

(number) Width = 0,

(number) Height = 0 )

Description

Print an image

Parameters

Filename

(string) The path to a JPG or PNG to print at the given X, Y coordinate. Click the browse button to select a file.

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure

Width

(number) The width in the unit of measure. Set to 0 to have the image scaled to width.

Height

(number) The height in unit of measure. Set to 0 to have the image scaled to height.


Return

This action dose not return any value.



PDFOut.PrintText


PDFOut.PrintText ( 

(string) String to Print,

(number) X position = 0,

(number) Y position = 0 )

Description

Print text at the given X, Y position

Parameters

String to Print

(string) The String to print at the X, Y position

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure


Return

This action dose not return any value.



PDFOut.PrintAligned


PDFOut.PrintAligned ( 

(string) String to Print,

(number) X position = 0,

(number) Y position = 0,

(number) Width = 0,

(number) Height = 0,

(string) Alignment = "LEFT" )

Description

Print text in a defined rectangular cell

Parameters

String to Print

(string) The String to print

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure

Width

(number) The width in the unit of measure

Height

(number) The height in unit of measure

Alignment

(string) The alignment of the text


Return

This action dose not return any value.



PDFOut.PrintTextRotated


PDFOut.PrintTextRotated ( 

(string) String to Print,

(number) X position = 0,

(number) Y position = 0,

(number) Angle = 0 )

Description

Print text at the given X, Y position

Parameters

String to Print

(string) The String to print at the X, Y position

X position

(number) The X position in the unit of measure

Y position

(number) The Y position in unit of measure

Angle

(number) The angle to rotate the text


Return

This action dose not return any value.



PDFOut.SetDisplayMode


PDFOut.SetDisplayMode ( 

(String) Zoom = "PDF_ZOOM_FULLPAGE",

(String) Layout = "PDF_LAYOUT_CONTINUOUS" )

Description

Defines the way the document is to be displayed to the viewer

Parameters

Zoom

(String) the zoom to use

Layout

(String) Page Layout


Return

This action dose not return any value.



PDFOut.SetFont


PDFOut.SetFont ( 

(String) Font Face = "Arial",

(String) Font Style = "BIU",

(number) Font Size = 12 )

Description

Changes the font face, style, and size.

Parameters

Font Face

(String) The name of the font.

Font Style

(String) The style of the font Bold, Italics, Underlined or any comnination of (i.e. "BI" would be Bold Italics).

Font Size

(number) The size of the font.


Return

This action dose not return any value.



PDFOut.SetFontColor


PDFOut.SetFontColor ( 

(number) Color = 0 )

Description

Changes the font color.

Parameters

Color

(number) The new font color.


Return

This action dose not return any value.



PDFOut.SetMargins


PDFOut.SetMargins ( 

(number) Left Margin = 0,

(number) Top Margin = 0,

(number) Right Margin = 0 )

Description

Set the Left, Right and Top Margins.

Parameters

Left Margin

(number) The unit of measure for the Left Margin

Top Margin

(number) The unit of measure for the Top Margin

Right Margin

(number) The unit of measure for the Right Margin


Return

This action dose not return any value.



PDFOut.SetUnits


PDFOut.SetUnits ( 

(string) Unit of Measure = "mm" )

Description

Set the units to use for setting X and Y coordinates.

Parameters

Unit of Measure

(string) The unit of measure


Return

This action dose not return any value.



PDFOut.SetXY


PDFOut.SetXY ( 

(number) X = 0,

(number) Y = 0 )

Description

Set the X and Y coordinates.

Parameters

X

(number) X position in unit of measure

Y

(number) Y position in unit of measure


Return

This action dose not return any value.



PDFOut.WritePDF


PDFOut.WritePDF ( 

(string) Filename )

Description

Save the PDF file to disk.

Parameters

Filename

(string) The name of the PDF file to save to disk.


Return

This action dose not return any value.



PDFOut.WriteText


PDFOut.WriteText ( 

(string) Text to Print,

(number) Height = 0 )

Description

Print text at the current X, Y position wrapping at the margins at the given height

Parameters

Text to Print

(string) The text to print at the current X, Y position

Height

(number) The height in the unit of measure to use for line spacing


Return

This action dose not return any value.



Made with Action Plugin Compiler