Logout Developer Knowledgebase Search Adobe Partners Main Adobe Solution Partner Finder Adobe Solution Partner Program Support Developer Knowledgebase Adobe Solution Partner Program Products & Technology Adobe
Developer Knowledgebase

Knowledgebase HomeInCopy KB

Overview
Software Development Kits
Developer Knowledgebase
Support
Legal Notices
Feedback
Adobe Solution Partner Program
Join
Find a Solution Partner

Product
InCopy
 
Version
2.0
 
Last Edited
18-Jun-2003
 
Document
52285

How To: How do I programmatically update the design of an InCopy document?

Issue:
Can I programmatically update the design of a document through our InCopy plug-in?

Solution:
The util for this is probably what you're looking for, it's use is demonstrated by the ICFAct plug-in (InCopyFileActions).

Utils<IInCopyDocUtils>()->DoUpdateDesign(::GetUIDRef(Utils<ILayoutUtil s>()->GetFrontDocument()));

If you know the document being updated will always be the frontmost document , then you can use the line above. If, on the other hand, you need to specifiy the document to be updated, you must get the UIDRef for the document & pass that to the DoUpdateDesign method.

back to top
Was this Knowledgebase document helpful? Yes  No
The articles in this knowledgebase are intended for use by software programmers currently using an Adobe SDK to extend or customize an Adobe product. These articles may be highly technical in nature.
If you have questions about an Adobe Product that are not related to development or an SDK product please visit: http://adobe.com/support/main.html
Copyright © Adobe Systems Incorporated. All rights reserved.
Terms of Use
Online Privacy Policy