Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Variable: ReportObjType

DIAdem 2011 Help

Edition Date: July 2011

Part Number: 370859J-01

»View Product Info

Specifies the types of objects in the current worksheet in DIAdem REPORT.

Definition ReportObjType(i), Enumeration variable
i = 1 ... ObjectNoMax
Enumeration variable with the following selection terms
Script Term Interface Term, Explanation
"2D-Axis"
2D axis system
"2D-Table"
2D table
"2D-Polar"
2D polar axis system
"3D-Axis"
3D axis system
"3D-Table"
3D table
"FreeText"
Free text
"FreeFrame"
Free frame
"FreeGraph"
Any graphic
"UserObject"
Text object
"Arrow"
Arrow
"Comment"
Comment
"Circle"
Circle
"FormulaDisp"
Formula graphic
Note  The ReportObjType variable replaces the variables ObjType, GraphObjType and PicObjType.
Note  You cannot generate the UserObject object type with the GraphObjNew command.
Note  Always set object parameters in DIAdem REPORT in the following order: open the object, modify the contents of the object, open a subobject, modify the contents of the subobject, then close the subobject and close the object. Refer to Accessing Objects in DIAdem REPORT for more information.

Example

The following example displays a message box with the index, the name, and the type of the foreground object in the current worksheet in DIAdem REPORT.

StrSheet = ReportObj(ReportObjLast)
StrType = ReportObjType(ReportObjLast)
Call MsgBoxDisp("Report object no." & ReportObjLast & "— Name: " & StrSheet & "; Type: " & StrType)

Variables of a 2D Axis System

    Variables of a 2D Curve Object

    Variable of an X Axis Object

    Variable of a Y Axis Object

Variable of a 2D table

Variable of a Polar Axis System

    Variables of a Polar Curve Object

Variable of a 3D Table

Variables of a 3D Axis System

    Variables of a 3D Curve Object 

Variables of a Free Text

Variables of a Formula Graphic

Variables of a Free Frame

Variable of any Graphic

Variable of an Arrow

Variable of a Comment

Variable of a Circle

Related Topics

Used by


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit