SetBackgroundColor Method (ITableStyle)

SetBackgroundColor Method (ITableStyle) | Send Feedback
See Also Example

CellType
  Type of cell in the TableStyle as defined in dsTableCellType_e

NewVal
  Background Color

Sets the background Color for the specified type of cell in this TableStyle.

# Syntax

Visual Basic |
--- | ---
    Sub SetBackgroundColor( _
       ByVal CellType As dsTableCellType_e, _
       ByVal NewVal As Color _
    )

C# |
--- | ---
    void SetBackgroundColor(
       dsTableCellType_e CellType,
       Color NewVal
    )

JavaScript |
--- | ---
    SetBackgroundColor(
       CellType : String,
       NewVal : dsColor
    )

COM native C++ |
--- | ---
    HRESULT SetBackgroundColor(
       dsTableCellType_e CellType,
       IColor* NewVal
    )

C++ |
--- | ---
    DSRESULT SetBackgroundColor(
       dsTableCellType_e CellType,
       dsColor* NewVal
    )

#### Parameters

CellType
  Type of cell in the TableStyle as defined in dsTableCellType_e
NewVal
  Background Color

# Example

Create Table (C#)
Create Table (VB.NET)
Create Table (VBA)
Create Table (JavaScript)

# See Also

####

ITableStyle Interface
ITableStyle Members
ITableStyle::GetBackgroundColor Method

# Availability

DraftSight V1R3.0