# Thread: Report with Ink Background

1. ## Report with Ink Background

Hi,

Thanks for the recent video on Setting the background image for an ink control however I have not been able to render this in a report. I can't align the ink control with the background. Is this supported yet?

Thanks

2. ## Re: Report with Ink Background

Originally Posted by pcaspa
Hi,

Thanks for the recent video on Setting the background image for an ink control however I have not been able to render this in a report. I can't align the ink control with the background. Is this supported yet?

Thanks
Hello Peter,

You bring up a great question. Unfortunately, there is currently no way to do this. I've passed this along to the development team. I'll post back when this functionality becomes available or when I have additional information to share.

Thanks!

3. ## Re: Report with Ink Background

Originally Posted by pcaspa
Hi,

Thanks for the recent video on Setting the background image for an ink control however I have not been able to render this in a report. I can't align the ink control with the background. Is this supported yet?

Thanks

Hello Peter,

This functionality has been added to the beta. You can now align an ink control with a background image in Reports.

A new method was added for reports: a5_composite_picture_and_ink(). The a5_composite_picture_and_ink method takes 3 parameters: a field containing the background image, the field containing the ink data, and an optional path parameter - to be used to resolve file references. This method can be used to create a calculated field. EG:
Code:
annotatedPicture = a5_composite_picture_and_ink(ImageField,InkField,"C:\images")
annotatedPictureBlob = a5_composite_picture_and_ink(ImageBlobField,InkField)
If the image you want to use as the background is the same for all records, you can explicitly pass that image to the method:
Code:
annotatedPicture = a5_composite_picture_and_ink("C:\full\path\to\image\file.jpg",InkField)
Support for composite images is available in the latest pre-release build.

Support for blob images is pending - I ran across an issue that development is looking into now.

Thank you for this suggestion! Let us know how this works out for you.

4. ## Re: Report with Ink Background

Hi,

Thanks for that. I got it to work as a calculated field in a report however the annotated picture only occupies the top left corner of the calculated field. I can see a way to get it to fill the field. Have I missed something obvious?

Any help would be greatly appreciated

Cheers

5. ## Re: Report with Ink Background

Further to my last. It appears this problem only occurs on my development server not my live server?

6. ## Re: Report with Ink Background

Originally Posted by pcaspa
Further to my last. It appears this problem only occurs on my development server not my live server?
Thanks for your feedback and patience, Peter.

Does this issue still occur in the latest pre-release build? Thanks.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•