Skip to main content
monikac35319256
Participant
Dec 14, 2016 3:44 PM UTC
Question

Setting the document to show the document title rather than file name by default for Adobe DC programatically

Hi,

How do we programatically set up the document properties such that it always shows the document title rather than the file name from the initial view ?

I'm using the below code to set the title of the document.

PDDocSetInfoAsASText(pdDoc,ASTextHolder("Title"),text);

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

monikac35319256
Participant
Dec 15, 2016 12:45 PM UTC

We are using C++ in our project

Translate
Bernd Alheit
Community Expert
Community Expert
Dec 15, 2016 3:15 PM UTC

You can access the Cos layer with C/C++. Where is the problem?

Translate
monikac35319256
Participant
Jan 9, 2017 10:43 AM UTC

we use C# in our project

Translate
lrosenth
Adobe Employee
Adobe Employee
Dec 14, 2016 4:19 PM UTC

I use the Cos APIs to set the appropriate keys in the Catalog/ViewerPreferences

Translate