Returns a style with the specified name.

Namespace: CADImport
Assembly: CADImport (in CADImport.dll)

Public Function StyleByName( _ 
ByVal aName As String
) As CADStyle
This language is not supported or no code example is available.
public CADStyle StyleByName( 
string aName 
)
This language is not supported or no code example is available.

Parameters

aName

Type: string

A name of the style to return.

Return Value

A CADStyle object that has the specified name.
This method searches a style with the specified name among the styles from the loaded CAD file. If it doesn't find such style it creates a CADStyle object that has the specified name.

Windows NT 4.0, Windows 98, Windows XP, Windows Server 2003, Windows Vista; Windows Server 2008 R2, Windows 7, WIndows10

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0 - 4, NET6

.NET Framework Client Profile

Supported in: 4, 3.5 SP1, NET6