When using the CoreAPI, is the only method for placing images (raster images, jpg, bmp, etc) PlaceImage/PlaceImageEx ?
I'm specifically interested in placing images in conjunction with ShowTextBlock and determining placement since
images cannot be included within ShowTextBlock.
Thanks,
Wayne
Placing images
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
- Tracker Supp-Stefan
- Site Admin
- Posts: 17910
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Placing images
Hello Wayne,
I've passed this along to a colleague in the dev team, and he said that he will post back his further comments and advise tomorrow.
Regards,
Stefan
I've passed this along to a colleague in the dev team, and he said that he will post back his further comments and advise tomorrow.
Regards,
Stefan
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Placing images
Hello Wayne,
Well the PlaceImageEx gives you a possibility to specify an image rectangle. Or what do you want to achieve precisely?
Cheers,
Alex
Well the PlaceImageEx gives you a possibility to specify an image rectangle. Or what do you want to achieve precisely?
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Placing images
Hi Alex -
I'm essentially wanting to add image handling/placement into our existing stamping (which uses ShowTextBlock).
Since TextBlocks do not handle images (too bad since they handle other html/css!) I was interested
in any other available ways to add images that may coordinate with TextBlock positioning.
For example, I can't really put images inline with text, so I'm guessing that I simply have to calculate
positions and put an image between two TextBlocks?
Here's what I mean, done with html and rendered in a browser:
I'm essentially wanting to add image handling/placement into our existing stamping (which uses ShowTextBlock).
Since TextBlocks do not handle images (too bad since they handle other html/css!) I was interested
in any other available ways to add images that may coordinate with TextBlock positioning.
For example, I can't really put images inline with text, so I'm guessing that I simply have to calculate
positions and put an image between two TextBlocks?
Here's what I mean, done with html and rendered in a browser:
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Placing images
Hello Wayne,
The ShowTextBlock methods do not use the HTML/CSS formatting - they use the XFA formatted input (and believe me - they differ).
This means you will have to calculate the positions of the image manually.
Cheers,
Alex
The ShowTextBlock methods do not use the HTML/CSS formatting - they use the XFA formatted input (and believe me - they differ).
This means you will have to calculate the positions of the image manually.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Placing images
I thought that might be the case.
Thanks Alex...
Thanks Alex...
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Placing images
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ