General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › XMetal ActiveX Control – “Tags on View” as default view?
-
sreenaiah May 2, 2013 at 8:46 pm
XMetal ActiveX Control – “Tags on View” as default view?
May 2, 2013 at 8:46 pmParticipants 0Replies 1Last Activity 9 years, 9 months agoHi,
By default I am having Normal view displayed for my XML in XMetal ActiveX Editor; Could someone guide me how to set “Tags on View” as default or change programmatically back and forth in a webpage using JavaScript please?
Thanks
Srini GDerek Read May 2, 2013 at 9:03 pm
Reply to: XMetal ActiveX Control – “Tags on View” as default view?
May 2, 2013 at 9:03 pmTo specify the view XMAX should load a document into set the intViewType optional parameter in your call to any of the methods LoadFromFile(), LoadFromString(), or LoadFromStringAsSGML(). Refer to the Programmers Guide for details on each of these methods.
To change views after a document has been rendered use the ViewType property. To switch to Tags On view you would simply call ActiveDocument.ViewType = 1. Refer to the Programmers Guide for details on the values this property accepts.
-
AuthorPosts
- You must be logged in to reply to this topic.