LabTalk Doc method to find a page


Version: 2023b

Type: Features

Category: Programming

Subcategory: LabTalk

Jira: ORG-26293


A new method is added to Doc object to return page short name from it’s long name.

Syntax: doc.FindLN(strRegister, strLN, windowtype)

  • Return number of page windows that match the long name string

  • strRegister: output to which string register

  • strLN: Long name to search

  • windowtype: 2 = workbook, 3 = graph, 5 = matrix book

Example: int nFound = doc.FindLN(A, "some name", 2);