Search found 4 matches

by mandrillboy
Fri May 04, 2012 1:15 pm
Forum: Support
Topic: List Index Out Of Bounds When Inserting Bitmap
Replies: 6
Views: 12638

All sorted,

just to confirm for the benefit of other, the main cause of the issue was failing to call Format after loading the document.
by mandrillboy
Fri May 04, 2012 10:45 am
Forum: Support
Topic: List Index Out Of Bounds When Inserting Bitmap
Replies: 6
Views: 12638

Thanks!

Calling 'Format' after loading the document fixed the error (I was calling Reformat before)

Almost there, this code does not place the image in a table cell however.

I am sure I am missing something really simple here so will check the documentation.
by mandrillboy
Thu May 03, 2012 12:49 pm
Forum: Support
Topic: List Index Out Of Bounds When Inserting Bitmap
Replies: 6
Views: 12638

I need to manually set the width and height.

However InsertPicture raises the exact same error.
by mandrillboy
Wed May 02, 2012 10:51 am
Forum: Support
Topic: List Index Out Of Bounds When Inserting Bitmap
Replies: 6
Views: 12638

List Index Out Of Bounds When Inserting Bitmap

I have been using the following code to replace the selection with a bitmap image: procedure MergeFieldToBitmap(var Bmp: TBitmap; const ImgName: string; const StretchX,StretchY: Integer); var info: TRVGraphicItemInfo; s, SplitText: TRVRawByteString; begin re.DeleteSelection; info ...