GetLineStyleListFromFile Method (IApplication) Send Feedback
See Also 
FileName
Path and file name of the file containing the names of the LineStyles and their descriptions (see Remarks)
NameStrArray[out]
Names of the LineStyles in FileName
DescriptionStrArray[out]
Descriptions of the LineStyles in FileName
Gets the names of the simple LineStyles and their descriptions contained in the specified LineStyle file.

Syntax

Visual Basic 
Sub GetLineStyleListFromFile( _
   ByVal FileName As System.String, _
   ByRef NameStrArray As System.Object, _
   ByRef DescriptionStrArray As System.Object _
) 
C# 
void GetLineStyleListFromFile( 
   System.string FileName,
   out System.object NameStrArray,
   out System.object DescriptionStrArray
)
JavaScript 
GetLineStyleListFromFile( 
   FileName : String
) : {
   NameStrArray : Array,
   DescriptionStrArray : Array
}
COM native C++ 
HRESULT GetLineStyleListFromFile( 
   BSTR FileName,
   VARIANT* NameStrArray,
   VARIANT* DescriptionStrArray
) 
C++ 
DSRESULT GetLineStyleListFromFile( 
   const dsString& FileName,
   dsStringArray* NameStrArray,
   dsStringArray* DescriptionStrArray
) 

Parameters

FileName
Path and file name of the file containing the names of the LineStyles and their descriptions (see Remarks)
NameStrArray[out]
Names of the LineStyles in FileName
DescriptionStrArray[out] or Return Value
Descriptions of the LineStyles in FileName

Remarks

Simple LineStyle definition files are stored in ASCII text files with .lin filename extensions.
 

See Also

Availability

DraftSight V1R4.0