I am using Acrobat DC SDK not able to set the document title by using AVWindowSetTitle(window, text); in dc is there any way to set the document title programatically in DC ?
i am trying to set the title for the dc window by using the following code in c++.
void PDFUtils::SetDCWindowTitle(const CString& title)
{
ASTextHolder text(title);
AVDoc doc=AVAppGetActiveDoc();
if(doc!=NULL)
{
PDDoc pdDoc = PDFUtils::GetPDDoc(doc);
PDDocSetInfoAsASText(pdDoc,ASTextHolder("Title"),text);
AVWindow window = AVDocGetAVWindow(doc);
AVWindowSetTitle(window, text); // not working for now for DC version
}
}
but it's not working for DC, where as it is working fine for adobe 11.
i need to set the title for the window in DC . Please help for this.
Message was edited by: Jyothi Potti
