Page History
...
Name | Type | Data Type | Description |
|---|---|---|---|
Bitmap | *Input | Image to add to the cell | |
ImageFileFormat | *Input | Enumeration | Image file format |
Width | *Input | Float | Width of the image |
Height | *Input | Float | Height of the image |
ImageCompression | *Input (Optional) | Enumeration | Compression of the generated JPEG |
Rotation | *Input (Optional) | Integer | Rotation of the image in degrees (0-359) |
HAlign | *Input (Optional) | Enumeration | Horizontal alignment of image |
VAlign | *Input (Optional) | Enumeration | Vertical alignment of image |
FillColor | *Input (Optional) | Color | Background color |
Details
...
Define_Com Class(#PRIM_PDF.AutoTable) Name(#Table) Reference(*DYNAMIC) Theme(Striped) Columncount(1)
Define_Com Class(#PRIM_PDF.AutoTableRow) Name(#Row) Reference(*DYNAMIC)
Define_Com Class(#PRIM_BMP) Name(#myBitmap) Reference(*DYNAMIC)
* Create row
#Row <= #Table.CreateRow
* Add image
#myBitmap <= #Sys_Appln.CreateBitmap( '/myPath/myImage.jpg' )
#Row.addImageCell Bitmap(#myBitmap) Imagefileformat(jpg) Width(5) Height(5)
* Add row to table
#Table.AddRow Row(#Row)
...
Enum Value | Description |
|---|---|
Top | Top aligned |
Middle | Middle aligned |
Bottom | Bottom aligned |