Hi,
Is there a way to add a border around an image in Aspose.PDF in xml (using an attribute on the -tag for example)? Or any workaround to achieve a border-like effect?
Thanks.
Hi,
Is there a way to add a border around an image in Aspose.PDF in xml (using an attribute on the -tag for example)? Or any workaround to achieve a border-like effect?
Thanks.
Hi,
You can add the border by placing the image inside a table and setting the border of the table as follows:
<?xml version="1.0" encoding="utf-8" ?>
Thanks.
Thanks, I’ll give that a try.
Will the ability to add a border of a given thickness and color be a feature added to the -tag in a later release?
I have logged this issue as PDFNET-4165. We will try to support it in the future version.
Hi
Aspose.PDF already has the ability to add a border around an Image,you can use -tag nested in the -tag to set thickness and color for an Image.
you can add a border of a given thickness and color as follows:
<?xml version="1.0" encoding="UTF-8"?>