I am creating a Spotfire extension that will need to get a list of cross table plot in a dxp file, showing the cross table name in a combo box for users to pick.
Been searching and reading the SDK documentation, but really don't know how to start. Please help.
Thank you in advance.
I found a away to do it after google through the documents
List<Visual> crosstable = new List<Visual>();
PageCollection pageList = myApp.Document.Pages;
foreach (Page page in pageList)
{
VisualCollection visualList = page.Visuals;
foreach (Visual visual in visualList)
{
if (visual.TypeId.Name.Contains("CrossTable"))
{
crosstable.Add(visual);
}
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.