ExtensionsGetShapeIndex Method

Check the type of this IODBObject and get the shape index (used symbol index).

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int GetShapeIndex(
	this IODBObject this
)

Parameters

this  IODBObject

Return Value

Int32
-1 for objects without an symbol like surface and text.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IODBObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also