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

Free Support Forum - aspose.com

Embed PDF in word with custom label

Currently I am embedding PDF files in a DOCX but whenever I open the document all I see is the default PDF label “Adobe Acrobar Document”.


Currently I am doing the following:
documentBuilder.InsertOleObject(embeddedDocuments[index].Stream, AcrobatProgramId, true, null);

How can I change the display name to a name I want to show?

The default name is quite ugly for professional usage and it would be better to have a meaning to the document we are embedding.

Jorge
Hi Jorge,

Thanks for your inquiry. Unfortunately, Aspose.Words does not provide APIs to set icon caption of OLE object. However, we have logged this feature request as WORDSNET-11833 in our issue tracking system. You will be notified via this forum thread once this feature is available.

We apologize for your inconvenience.

Thanks for letting me know.


Hopefully it won’t take long.


Jorge

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.

The issues you have found earlier (filed as WORDSNET-11833) have been fixed in this Aspose.Words for .NET 20.1 update and this Aspose.Words for Java 20.1 update.