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.
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.