Jump to content
  • Remove Page in Spotfire® Using IronPython Scripting


    Iterate over the pages and remove the page if it is named "Temporary Page"

    Introduction

    Iterate over the pages and remove the page if it is named "Temporary Page"

    Code Sample

    # Iterate over the pages and remove the page if it is named "Temporary Page"
    
    for Page in Document.Pages:
        if Page.Title == "Temporary Page":
            Document.Pages.Remove(Page)
     

    References

    License:  TIBCO BSD-Style License

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...