CreateTextStyle Method (ITextStyleManager)

CreateTextStyle Method (ITextStyleManager) | Send Feedback
See Also

Name
  Name

TextStyle[out]
  TextStyle

Result[out]
  Status of creating the TextStyle as defined in dsCreateObjectResult_e

Creates the specified TextStyle.

# Syntax

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

C# |
--- | ---
    void CreateTextStyle(
       System.string Name,
       out TextStyle TextStyle,
       out dsCreateObjectResult_e Result
    )

JavaScript |
--- | ---
    CreateTextStyle(
       Name : String
    ) : {
       TextStyle : dsTextStyle,
       Result : String
    }

COM native C++ |
--- | ---
    HRESULT CreateTextStyle(
       BSTR Name,
       ITextStyle** TextStyle,
       dsCreateObjectResult_e* Result
    )

C++ |
--- | ---
    DSRESULT CreateTextStyle(
       const dsString& Name,
       dsTextStyle** TextStyle,
       dsCreateObjectResult_e* Result
    )

#### Parameters

Name
  Name
TextStyle[out]
  TextStyle
Result[out] or Return Value
  Status of creating the TextStyle as defined in dsCreateObjectResult_e

# See Also

####

ITextStyleManager Interface
ITextStyleManager Members
ITextStyleManager::RemoveTextStyle Method

# Availability

DraftSight V1R1.1