API Documentation > CorelDRAW > 2025-v26 > TableShape > ITableShape
TableShape.ConvertToText method
Converts the table to text
Syntax:
Function ConvertToText(Optional ByVal ColumnSeparator As Variant, Optional ByVal RowSeparator As Variant, Optional ByVal TextBeforeCell As String = "", Optional ByVal TextAfterCell As String = "", Optional ByVal AddTextOnlyIfDelimitersPresent As Boolean = True, Optional ByVal OmitPlacedShapes As Boolean = False, Optional ByVal DeleteTable As Boolean = True) As ShapeRange
Parameters:
Name Type Description
ColumnSeparator
Variant
RowSeparator
Variant
TextBeforeCell
String
Specifies a string to appear before the contents of each original cell in the outputted text.
TextAfterCell
String
Specifies a string to appear after the contents of each original cell in the outputted text.
AddTextOnlyIfDelimitersPresent
Boolean
Specifies whether to add specified strings to the outputted text only if delimiters are present.
OmitPlacedShapes
Boolean
Specifies whether to omit any shapes in the original table.
DeleteTable
Boolean
Specifies whether to delete the original table.
Remarks:
The ConvertToText method converts a table to text.