IAcadTableStyle
TeighaX Interface for adding, modifing and deleting table styles
Supported Platforms: Windows only
Object Inheritance
Members
These members are part of this object:
Methods- GetXData
- SetXData
- Delete
- GetExtensionDictionary
- GetTextStyle
- SetTextStyle
- GetTextHeight
- SetTextHeight
- GetAlignment
- SetAlignment
- GetColor
- SetColor
- GetBackgroundColor
- SetBackgroundColor
- GetBackgroundColorNone
- SetBackgroundColorNone
- GetGridLineWeight
- SetGridLineWeight
- GetGridColor
- SetGridColor
- GetGridVisibility
- SetGridVisibility
- GetDataType
- SetDataType
- GetFormat
- SetFormat
- CreateCellStyle
- CreateCellStyleFromStyle
- RenameCellStyle
- DeleteCellStyle
- GetUniqueCellStyleName
- GetIsCellStyleInUse
- GetCellStyles
- GetTextStyleId
- SetTextStyleId
- GetTextHeight2
- SetTextHeight2
- GetAlignment2
- SetAlignment2
- GetColor2
- SetColor2
- GetBackgroundColor2
- SetBackgroundColor2
- GetDataType2
- SetDataType2
- GetFormat2
- SetFormat2
- GetCellClass
- SetCellClass
- GetRotation
- SetRotation
- GetIsMergeAllEnabled
- EnableMergeAll
- GetGridLineWeight2
- SetGridLineWeight2
- GetGridColor2
- SetGridColor2
- GetGridVisibility2
- SetGridVisibility2
- SetTemplateId
Properties- Handle
- ObjectName
- ObjectID
- Application
- HasExtensionDictionary
- OwnerID
- Document
- Name
- Description
- BitFlags
- FlowDirection
- HorzCellMargin
- VertCellMargin
- TitleSuppressed
- HeaderSuppressed
- NumCellStyles
- TemplateId
- GetXData()
Void GetXData([in] BSTR AppName, [out] Pointer Type XDataType, [out] Pointer Type XDataValue)
Returns the extended data (XData) associated with an object.
- SetXData()
Void SetXData([in] VARIANT XDataType, [in] VARIANT XDataValue)
Sets the extended data (XData) associated with an object.
- Delete()
Void Delete( )
Deletes a specified object.
- GetExtensionDictionary()
IAcadDictionary* GetExtensionDictionary( )
Returns the extension dictionary associated with an object.
- GetTextStyle()
BSTR GetTextStyle(AcRowTypeShort rowType)
Returns the text style name of a row type.
- SetTextStyle()
Void SetTextStyle([in] Int rowTypes, [in] BSTR bstrName)
Specifies the text style name of row types.
- GetTextHeight()
Double GetTextHeight(AcRowTypeShort rowType)
Returns the text height of a row type.
- SetTextHeight()
Void SetTextHeight([in] Int rowTypes, [in] Double TextHeight)
Specifies the text height of row types.
- GetAlignment()
AcCellAlignment GetAlignment(AcRowTypeShort rowType)
Returns the cell alignment of a row type.
- SetAlignment()
Void SetAlignment([in] Int rowTypes, AcCellAlignmentShort cellAlignment)
Specifies the cell alignment of row types.
- GetColor()
IAcadAcCmColor* GetColor(AcRowTypeShort rowType)
Returns the color value of a row type.
- SetColor()
Void SetColor([in] Int rowTypes, [in] Pointer Type pColor)
Specifies the color value of row types.
- GetBackgroundColor()
IAcadAcCmColor* GetBackgroundColor(AcRowTypeShort rowType)
Returns the background color value of a row type.
- SetBackgroundColor()
Void SetBackgroundColor([in] Int rowTypes, [in] Pointer Type pColor)
Specifies the background color value of row types.
- GetBackgroundColorNone()
Boolean GetBackgroundColorNone(AcRowTypeShort rowType)
Returns whether the background color is set to None for a row type.
- SetBackgroundColorNone()
Void SetBackgroundColorNone([in] Int rowTypes, [in] Boolean bValue)
Specifies whether the background color is set to None for row types.
- GetGridLineWeight()
ACAD_LWEIGHT GetGridLineWeight(AcGridLineTypeShort gridLineType, AcRowTypeShort rowType)
Returns the grid lineweight value for a grid linetype and row type.
- SetGridLineWeight()
Void SetGridLineWeight([in] Int gridLineTypes, [in] Int rowTypes, ACAD_LWEIGHTShort Lineweight)
Specifies the grid lineweight value for grid linetypes and row types.
- GetGridColor()
IAcadAcCmColor* GetGridColor(AcGridLineTypeShort gridLineType, AcRowTypeShort rowType)
Returns the grid color value for a grid linetype and row type.
- SetGridColor()
Void SetGridColor([in] Int gridLineTypes, [in] Int rowTypes, [in] Pointer Type pColor)
Specifies the grid color value for grid linetypes and row types.
- GetGridVisibility()
Boolean GetGridVisibility(AcGridLineTypeShort gridLineType, AcRowTypeShort rowType)
Returns whether the grid is visible for a grid linetype and row type.
- SetGridVisibility()
Void SetGridVisibility([in] Int gridLineTypes, [in] Int rowTypes, [in] Boolean bValue)
Specifies whether the grid is visible for grid linetypes and row types.
- GetDataType()
Void GetDataType(AcRowTypeShort rowType, [out] Pointer Type pDataType, [out] Pointer Type pUnitType)
Not implemented. Returns the data type and unit type of a row type.
- SetDataType()
Void SetDataType([in] Int rowTypes, AcValueDataTypeShort nDataType, AcValueUnitTypeShort nUnitType)
Not implemented. Specifies the data type and unit type of a row type.
- GetFormat()
BSTR GetFormat(AcRowTypeShort rowType)
Not implemented. Returns the format of a row type.
- SetFormat()
Void SetFormat([in] Int rowTypes, [in] BSTR val)
Not implemented. Specifies the format of a row type.
- CreateCellStyle()
Void CreateCellStyle([in] BSTR bstrCellStyle)
Nil
- CreateCellStyleFromStyle()
Void CreateCellStyleFromStyle([in] BSTR bstrCellStyle, [in] BSTR bstrSourceCellStyle)
Nil
- RenameCellStyle()
Void RenameCellStyle([in] BSTR bstrOldName, [in] BSTR bstrNewName)
Nil
- DeleteCellStyle()
Void DeleteCellStyle([in] BSTR bstrCellStyle)
Nil
- GetUniqueCellStyleName()
BSTR GetUniqueCellStyleName([in] BSTR pszBaseName)
Nil
- GetIsCellStyleInUse()
Boolean GetIsCellStyleInUse([in] BSTR pszCellStyle)
Nil
- GetCellStyles()
Void GetCellStyles([in] Pointer Type cellStylesArray)
Nil
- GetTextStyleId()
LONG_PTR GetTextStyleId([in] BSTR bstrCellStyle)
Returns the text style name for the specified cellStyle.
- SetTextStyleId()
Void SetTextStyleId([in] BSTR bstrCellStyle, LONG_PTRShort val)
Sets the text style name for the specified cellStyle.
- GetTextHeight2()
Double GetTextHeight2([in] BSTR bstrCellStyle)
Returns the text height for the specified cellStyle.
- SetTextHeight2()
Void SetTextHeight2([in] BSTR bstrCellStyle, [in] Double Height)
Sets the text height for the specified cellStyle.
- GetAlignment2()
AcCellAlignment GetAlignment2([in] BSTR bstrCellStyle)
Returns the cell alignment for the specified cellStyle.
- SetAlignment2()
Void SetAlignment2([in] BSTR bstrCellStyle, AcCellAlignmentShort cellAlignment)
Sets the cell alignment for the specified cellStyle.
- GetColor2()
IAcadAcCmColor* GetColor2([in] BSTR bstrCellStyle)
Returns the true color value for the specified cellStyle.
- SetColor2()
Void SetColor2([in] BSTR bstrCellStyle, [in] Pointer Type color)
Sets the true color value for the specified cellStyle.
- GetBackgroundColor2()
IAcadAcCmColor* GetBackgroundColor2([in] BSTR bstrCellStyle)
Returns the background true color value for the specified cellStyle.
- SetBackgroundColor2()
Void SetBackgroundColor2([in] BSTR bstrCellStyle, [in] Pointer Type color)
Sets the background true color value for the specified cellStyle.
- GetDataType2()
Void GetDataType2([in] BSTR bstrCellStyle, [out] Pointer Type pDataType, [out] Pointer Type pUnitType)
Returns the data type and unit type for the specifed cellStyle.
- SetDataType2()
Void SetDataType2([in] BSTR bstrCellStyle, AcValueDataTypeShort nDataType, AcValueUnitTypeShort nUnitType)
Sets the data type and unit type for the specifed cellStyle.
- GetFormat2()
Void GetFormat2([in] BSTR bstrCellStyle, [out] Pointer Type pbstrFormat)
Returns the format for the specifed cellStyle.
- SetFormat2()
Void SetFormat2([in] BSTR bstrCellStyle, [in] BSTR bstrFormat)
Sets the format for the specifed cellStyle.
- GetCellClass()
Int GetCellClass([in] BSTR bstrCellStyle)
Nil
- SetCellClass()
Void SetCellClass([in] BSTR bstrCellStyle, [in] Int cellClass)
Nil
- GetRotation()
Double GetRotation([in] BSTR bstrCellStyle)
Nil
- SetRotation()
Void SetRotation([in] BSTR bstrCellStyle, [in] Double Rotation)
Nil
- GetIsMergeAllEnabled()
Boolean GetIsMergeAllEnabled([in] BSTR bstrCellStyle)
Nil
- EnableMergeAll()
Void EnableMergeAll([in] BSTR bstrCellStyle, [in] Boolean bEnable)
Nil
- GetGridLineWeight2()
ACAD_LWEIGHT GetGridLineWeight2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineType)
Gets the gridLineWeight value for the specified gridLineType(s) and cellStyle.
- SetGridLineWeight2()
Void SetGridLineWeight2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineTypes, ACAD_LWEIGHTShort Lineweight)
Sets the gridLineWeight value for the specified gridLineType(s) and cellStyle.
- GetGridColor2()
IAcadAcCmColor* GetGridColor2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineType)
Returns the gridColor value for the specified gridLineType and cellStyle.
- SetGridColor2()
Void SetGridColor2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineTypes, [in] Pointer Type pColor)
Sets the gridColor value for the specified gridLineType and cellStyle.
- GetGridVisibility2()
Boolean GetGridVisibility2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineType)
Returns the gridVisibility value for the specified gridLineType and cellStyle.
- SetGridVisibility2()
Void SetGridVisibility2([in] BSTR bstrCellStyle, AcGridLineTypeShort gridLineTypes, [in] Boolean bValue)
Sets the gridVisibility value for the specified gridLineType and cellStyle.
- SetTemplateId()
Void SetTemplateId(LONG_PTRShort val, AcMergeCellStyleOptionShort option)
Nil
- Handle [ReadOnly]
BSTR Handle( )
Returns the handle of an object.
- ObjectName [ReadOnly]
BSTR ObjectName( )
Returns the TeighaX class name of an object.
- ObjectID [ReadOnly]
LONG_PTR ObjectID( )
Returns the object ID of an object.
- Application [ReadOnly]
IDispatch* Application( )
Returns the Application object.
- HasExtensionDictionary [ReadOnly]
Boolean HasExtensionDictionary( )
Returns whether an object has an associated extension dictionary.
- OwnerID [ReadOnly]
LONG_PTR OwnerID( )
Returns the object ID of the parent object.
- Document [ReadOnly]
IDispatch* Document( )
Returns the drawing to which an object belongs.
- Name [ReadOnly]
BSTR Name( )
Specifies or returns the name of a table style.
- Description [ReadOnly]
BSTR Description( )
Specifies or returns the description of a tables tyle.
- BitFlags [ReadOnly]
Integer BitFlags( )
Specifies or returns the operation bit set of a table style.
- FlowDirection [ReadOnly]
AcTableDirection FlowDirection( )
Specifies or returns the flow direction of a table style.
- HorzCellMargin [ReadOnly]
Double HorzCellMargin( )
Specifies or returns the horizontal cell margin of a table style.
- VertCellMargin [ReadOnly]
Double VertCellMargin( )
Specifies or returns the vertical cell margin of a table style.
- TitleSuppressed [ReadOnly]
Boolean TitleSuppressed( )
Specifies or returns whether the table title is visible for a table style.
Boolean HeaderSuppressed( )
Specifies or returns whether the header titles are visible for a table style.
- NumCellStyles [ReadOnly]
Integer NumCellStyles( )
Nil
- TemplateId [ReadOnly]
LONG_PTR TemplateId( )
Nil