Visual Basic | |
---|---|
Function CreateLineStyle( _ ByVal Name As System.String, _ ByVal FileName As System.String, _ ByVal Description As System.String, _ ByVal Pattern As System.String _ ) As System.Boolean |
C# | |
---|---|
System.bool CreateLineStyle( System.string Name, System.string FileName, System.string Description, System.string Pattern ) |
JavaScript | |
---|---|
CreateLineStyle( Name : String, FileName : String, Description : String, Pattern : String ) : Boolean |
COM native C++ | |
---|---|
HRESULT CreateLineStyle( BSTR Name, BSTR FileName, BSTR Description, BSTR Pattern, VARIANT_BOOL* Result ) |
C++ | |
---|---|
DSRESULT CreateLineStyle( const dsString& Name, const dsString& FileName, const dsString& Description, const dsString& Pattern, bool* Result ) |
Parameters
- Name
- Name for the simple LineStyle to create
- FileName
- Path and file name to which to add the simple LineStyle (see Remarks)
- Description
- Simple LineStyle description
- Pattern
- Pattern that defines the simple LineStyle (see Remarks)
- Result[out] or Return Value
- True if the simple LineStyle is created, false if not
Simple LineStyle definition files are stored in ASCII text files with .lin filename extensions.
These values... | Specify and create these simple LineStyle patterns... |
Positive decimals | Length of dashes |
Negative decimals | Length of spaces |
0 (zero) | Dots |
You must call ILineStyleManager::LoadLineStyle to load the simple LineStyle in a document before you can get the simple LineStyle.
DraftSight V1R4.0