SetAlignment Method (ITableStyle)

SetAlignment Method (ITableStyle) | Send Feedback
See Also

CellType
  Type of cell in the TableStyle as defined in dsTableCellType_e

NewVal
  Justification and alignment of the text in the specified type of cell in this TableStyle as defined in dsTableCellAlignment_e

Sets the justification and alignment of the text in the specified type of cell in this TableStyle.

# Syntax

Visual Basic |
--- | ---
    Sub SetAlignment( _
       ByVal CellType As dsTableCellType_e, _
       ByVal NewVal As dsTableCellAlignment_e _
    )

C# |
--- | ---
    void SetAlignment(
       dsTableCellType_e CellType,
       dsTableCellAlignment_e NewVal
    )

JavaScript |
--- | ---
    SetAlignment(
       CellType : String,
       NewVal : String
    )

COM native C++ |
--- | ---
    HRESULT SetAlignment(
       dsTableCellType_e CellType,
       dsTableCellAlignment_e NewVal
    )

C++ |
--- | ---
    DSRESULT SetAlignment(
       dsTableCellType_e CellType,
       dsTableCellAlignment_e NewVal
    )

#### Parameters

CellType
  Type of cell in the TableStyle as defined in dsTableCellType_e
NewVal
  Justification and alignment of the text in the specified type of cell in this TableStyle as defined in dsTableCellAlignment_e

# See Also

####

ITableStyle Interface
ITableStyle Members
ITableStyle::GetAlignment Method

# Availability

DraftSight V1R3.0