We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Adding border to image

I am currently migrating our old aspose libraries to the most recent version and we have an area in our application where we are applying border to the old images.

Pdf.Generator.Image.ImageInfo.ImageBorder was where we applied these changes.

Where would I go to apply image border in the current Aspose.Pdf.Image


At the moment, there is no such property in Aspose.Pdf.Image Class in order to add border for the image. However, a feature request as PDFNET-51675 has been logged in our issue tracking system for the sake of implementation. We will let you know as soon as the feature is implemented. Please be patient and spare us some time.

We are sorry for the inconvenience.

PS: As a workaround, you can try to add image inside a table cell in order to make it look like the image has borders.

1 Like