2.29.11 Mats
Contents
Description
An Integer value represent the number of MatrixObjects in this MatrixSheet
Syntax
VB: Property Get/Let Mats As Integer
C++: int Mats
C#: int Mats
Parameters
Remark
Examples
VB
Sub Mats() Dim app As Origin.IOApplication Dim msh As Origin.MatrixSheet app = New Origin.ApplicationSI msh = app.FindMatrixSheet("") 'get active matrixsheet If msh Is Nothing Then MsgBox("Can not get active matrixsheet") Exit Sub End If Dim nNum As Integer nNum = msh.Mats MsgBox("The active matrixsheet has " + nNum.ToString() + " MatrixObjects") End Sub
Version Information
8.0SR2