SetColor Method (IEntityHelper)

SetColor Method (IEntityHelper) | Send Feedback
See Also Example

Obj
  Entity

NewVal
  LineColor

Sets the LineColor of the specified entity.

# Syntax

Visual Basic |
--- | ---
    Sub SetColor( _
       ByVal Obj As System.Object, _
       ByVal NewVal As Color _
    )

C# |
--- | ---
    void SetColor(
       System.object Obj,
       Color NewVal
    )

JavaScript |
--- | ---
    SetColor(
       Obj : Object,
       NewVal : dsColor
    )

COM native C++ |
--- | ---
    HRESULT SetColor(
       IDispatch* Obj,
       IColor* NewVal
    )

C++ |
--- | ---
    DSRESULT SetColor(
       dsObject* Obj,
       dsColor* NewVal
    )

#### Parameters

Obj
  Entity
NewVal
  LineColor

# Example

Insert Splines (C#)
Insert Splines (VB.NET)
Insert Splines (VBA)
Select and Change Entities (JavaScript)
Create and Change EntityGroups (C#)
Create and Change EntityGroups (VB.NET)
Create and Change EntityGroups (VBA)
Create and Change EntityGroups (JavaScript)

# See Also

####

IEntityHelper Interface
IEntityHelper Members
IEntityHelper::GetColor Method

# Availability

DraftSight V1R3.0