CreateDimensionStyle Method (IDimensionStyleManager)

CreateDimensionStyle Method (IDimensionStyleManager) | Send Feedback
See Also Example

Name
  Name

DimensionStyle[out]
  DimensionStyle

Result[out]
  Status of creating a DimensionStyle as defined in dsCreateObjectResult_e

Creates a DimensionStyle.

# Syntax

Visual Basic |
--- | ---
    Sub CreateDimensionStyle( _
       ByVal Name As System.String, _
       ByRef DimensionStyle As DimensionStyle, _
       ByRef Result As dsCreateObjectResult_e _
    )

C# |
--- | ---
    void CreateDimensionStyle(
       System.string Name,
       out DimensionStyle DimensionStyle,
       out dsCreateObjectResult_e Result
    )

JavaScript |
--- | ---
    CreateDimensionStyle(
       Name : String
    ) : {
       DimensionStyle : dsDimensionStyle,
       Result : String
    }

COM native C++ |
--- | ---
    HRESULT CreateDimensionStyle(
       BSTR Name,
       IDimensionStyle** DimensionStyle,
       dsCreateObjectResult_e* Result
    )

C++ |
--- | ---
    DSRESULT CreateDimensionStyle(
       const dsString& Name,
       dsDimensionStyle** DimensionStyle,
       dsCreateObjectResult_e* Result
    )

#### Parameters

Name
  Name
DimensionStyle[out]
  DimensionStyle
Result[out] or Return Value
  Status of creating a DimensionStyle as defined in dsCreateObjectResult_e

# Example

Create and Apply DimensionStyle (C#)
Create and Apply DimensionStyle (VB.NET)
Create and Apply DimensionStyle (VBA)

# See Also

####

IDimensionStyleManager Interface
IDimensionStyleManager Members
IDimensionStyleManager::RemoveDimensionStyle Method

# Availability

DraftSight V1R1.1