Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

fc3ff484 364f 28b7 a30b 9890947b802a

haplokuon edited this page May 6, 2023 · 1 revision

ShapeNumber Method

netDxf 3.0.0 Library

Gets the number of the shape with the specified name.

Definition

Namespace: netDxf.Tables
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public short ShapeNumber(
	string name
)

VB

Public Function ShapeNumber ( 
	name As String
) As Short

C++

public:
short ShapeNumber(
	String^ name
)

F#

member ShapeNumber : 
        name : string -> int16 

Parameters

  String
Name of the shape.

Return Value

Int16
The number of the shape, 0 in case the shape has not been found.

Remarks

If the actual shape style belongs to a document, it will look for the SHX file also in the document support folders.

See Also

Reference

ShapeStyle Class
netDxf.Tables Namespace

Clone this wiki locally