NVN
NVN

Reputation: 107

Set Text for EA Element Linked Document

When EA element is Created we can set the linked document for the element.The API used for this is mobjElement.LoadLinkedDocument(string fileName) . Instead Of setting the file name can't we insert the string directly to the document. In the EA tables where we can find the linked document contents.

Upvotes: 2

Views: 118

Answers (1)

qwerty_so
qwerty_so

Reputation: 36295

The simple answer is: No. You need to use a temporary file and pass this to LoadLinkedDocument.

The content of the linked documents is stored in t_document.BinContent WHERE ElementType="SSDOCSTYLE". It's a base64 encoded zip with a single file str.dat.

Upvotes: 2

Related Questions