{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Combining Windows","description":"Accelerate E&P application development and protect your innovation by consuming our Data and Domain APIs / Platform APIs.","lang":"en-US","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"combining-windows","__idx":0},"children":["Combining Windows"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The following example creates two XSection windows and combines them into one:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"IXSectionWindow window1 = IXSectionWindow.factory.createWindow();\nIXSectionWindow window2 = IXSectionWindow.factory.createWindow();\nICombinedWindow combinedWindow = ICombinedWindow.factory.createWindow();\ncombinedWindow.addViewerWindows(window1, window2);\ncombinedWindow.setViewerWindowPosition(window1, 1); // moves the first window added all the way to the right\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To uncombine windows:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"combinedWindow.deleteViewerWindows(window1, window2);\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The entire ICombinedWindow API is described in the ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/solutions/intviewer/api-reference"},"children":["javadoc"]},"."]}]},"headings":[{"value":"Combining Windows","id":"combining-windows","depth":1}],"frontmatter":{"title":"Combining Windows","pageId":"intviewer-apis-for-windows/combining-windows","seo":{"title":"Combining Windows"}},"lastModified":"2026-10-22T14:32:05.576Z","pagePropGetterError":{"message":"","name":""}},"slug":"/solutions/intviewer/intviewer-apis-for-windows/combining-windows","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}