Does anyone know how to insert images into a DynaPDFTableMBS cell?
I keep getting ‘there is more than one item of this name and it is not clear to which this refers’
The SetCellImageData function comes in two forms, one which asks for a memoryblock, and one that asks for a string
(Wish I could just supply the name of a picture!)
[quote]method SetCellImageData(Row as Integer, Column as Integer, ForeGround as boolean, HAlign as Integer, VAlign as Integer, Width as double, Height as Double, ImageData as MemoryBlock, index as integer = 0) as boolean
method SetCellImageData(Row as Integer, Column as Integer, ForeGround as boolean, HAlign as Integer, VAlign as Integer, Width as double, Height as Double, ImageData as string, index as integer = 0) as boolean[/quote]
Doesn’t matter what I provide, it doesn’t seem to be able to work out which version to call.
Here is my current code: (zipp is an image in my project)
dim m as memoryblock
m = zipp.GetData(Picture.FormatJPEG)
call table.SetCellImageData(rownum,cx,true,0,0,64,64,m.StringValue,0)
Ive also tried this
dim m as memoryblock
m = zipp.GetData(Picture.FormatJPEG)
call table.SetCellImageData(rownum,cx,true,0,0,64,64,m,0)