General XMetaL Discussion

XMetaL Community Forum General XMetaL Discussion XMetal ActiveX Control – “Tags on View” as default view?

  • sreenaiah

    XMetal ActiveX Control – “Tags on View” as default view?

    Participants 0
    Replies 1
    Last Activity 9 years, 5 months ago

    Hi,

    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 G

    Reply

    Derek Read

    Reply to: XMetal ActiveX Control – “Tags on View” as default view?

    To 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.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support