How to reference an image


I have a word doc with X number of images in it.

I then convert that word document to a pdf

Then using aspose.pdf I want to be able to get go through the images and remove certain ones.

How can I differentiate between each of the images? When I loop through them currently… the XImage Name property is null?

How can I set that property? Or another way to differentiate between each image?




Thank you for contacting support.

We are afraid images may not be differentiated in the PDF generated by conversion of Word document. Name property may be set while creating a PDF document with Aspose.PDF API where name can be used to differentiate images after adding them.