GetShapeNumber Method (IShape) Send Feedback
See Also 
Number[out]
Code number of the shape's character with its SHX font (see Remarks)
Gets the number of shape.

Syntax

Visual Basic 
Function GetShapeNumber() As System.Integer
C# 
System.int GetShapeNumber()
JavaScript 
GetShapeNumber() : Number
COM native C++ 
HRESULT GetShapeNumber(
   LONG* Number
)  
C++ 
DSRESULT GetShapeNumber(
   long* Number
)  

Parameters

Number[out] or Return Value
Code number of the shape's character with its SHX font (see Remarks)

Remarks

A shape is stored as a reference to a font and to a character within that font. Essentially a shape is a single character of a compiled shape (SHX) font. This method gets the number of that character.
 

See Also

Availability

DraftSight V1R4.0