Creates a text style and adds it to the current SHXFontList.

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

Public Function AddStyle( _ 
ByVal aName As String, _ 
ByVal aFontName As String, _ 
ByVal aBigFontName As String, _ 
ByVal aVertical As Boolean, _ 
ByVal aUpSideDown As Boolean, _ 
ByVal aBackwards As Boolean, _ 
ByVal aObliqueAngle As Double, _ 
ByVal aWidth As Double
) As TextStyle
This language is not supported or no code example is available.
public TextStyle AddStyle( 
string aName
string aFontName
string aBigFontName
bool aVertical
bool aUpSideDown
bool aBackwards
double aObliqueAngle
double aWidth 
)
This language is not supported or no code example is available.

Parameters

aName

Type: string

A name of the text style to add to the SHXFontList.

aFontName

Type: string

A name of the SHX fonts to add to the SHXFontList.

aBigFontName

Type: string

A string containing a path to the big fonts file. If the style to be added doesn't specify big fonts, this string is empty.

aVertical

Type: bool

A boolean value indicating whether the text is vertical.

aUpSideDown

Type: bool

A boolean value indicating whether the text is upside down (mirrored in Y direction).

aBackwards

Type: bool

A boolean value indicating whether the text is backward (mirrored in X direction).

aObliqueAngle

Type: double

A tilt angle for the text letters.

aWidth

Type: double

A WidthFactor for the text.

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