GetPenCount Method (IDrawingDoc)
Gets the number of pens currently defined in SolidWorks.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function GetPenCount() As Integer |
| Visual Basic (Usage) | |
|---|
Dim instance As IDrawingDoc
Dim value As Integer
value = instance.GetPenCount()
|
| C++/CLI | |
|---|
int GetPenCount(); |
Return Value
Number of pens
See Also