Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
Inserts an image horizontally and vertically aligned as specified.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
Table | The identifier for the table. | $Table | |
Row | The row number. Range from 0 to DynaPDF.Table.GetNumRows-1. Pass -1 for all rows. | 0 | |
Col | The column number. Range from 0 to DynaPDF.Table.GetNumCols-1. Pass -1 for all columns. | 0 | |
ForeGround | If 1, the cell will be expanded if necessary. | 1 | |
HAlign | The horizontal alignment. Can be left, center or right. | "center" | |
VAlign | The vertical alignment. Can be bottom, center or top. | "center" | |
Width | The image width. Must be greater or equal zero. | 50 | |
Height | The image height. Must be greater or equal zero. | 50 | |
ImagePath | The native path to the image file. | $Path | |
Index | The index of the image in the file. | 1 | Optional |
Returns OK or error.
Add row and insert picture:
Set Variable [$subrow; Value:MBS("DynaPDF.Table.AddRow"; $subtable)]
Set Variable [$r; Value:MBS("DynaPDF.Table.SetCellImageEx"; $subtable; $subrow; 0; 1; "left"; "top"; 200; 0; Images::Image)]
Created 18th August 2014, last changed 18th October 2016
DynaPDF.Table.SetCellAction - DynaPDF.Table.SetCellImageEx
Feedback: Report problem or ask question.