Foxit PDF SDK
FoxitPDFSDKPython3.TableCellData Class Reference

Inherits FoxitPDFSDKPython3._object.

Public Member Functions

def TableCellData ()
 Constructor. More...
 
def Set (cell_text_style, cell_text, cell_image, cell_margin)
 Set value. More...
 

Static Public Attributes

 cell_image = _swig_property(_fsdk.TableCellData_cell_image_get, _fsdk.TableCellData_cell_image_set)
 The image content of cell. More...
 
 cell_margin = _swig_property(_fsdk.TableCellData_cell_margin_get, _fsdk.TableCellData_cell_margin_set)
 The cell margin between the content and cell border. More...
 
 cell_text = _swig_property(_fsdk.TableCellData_cell_text_get, _fsdk.TableCellData_cell_text_set)
 The text content of cell. More...
 
 cell_text_style = _swig_property(_fsdk.TableCellData_cell_text_style_get, _fsdk.TableCellData_cell_text_style_set)
 The style of cell text.
 

Detailed Description

This class represents table cell data.

Constructor & Destructor Documentation

◆ TableCellData()

def FoxitPDFSDKPython3.TableCellData.TableCellData ( )

Constructor.

Constructor, with another table cell data object.

Constructor, with parameters.

Parameters
[in]cell_text_styleThe style of cell text.
[in]cell_textThe text content of cell.
[in]cell_imageThe image content of cell.
[in]cell_marginThe cell margin.
[in]dataAnother table cell data object, whose value would be assigned to current object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython3.TableCellData.Set (   cell_text_style,
  cell_text,
  cell_image,
  cell_margin 
)

Set value.

Parameters
[in]cell_text_styleThe style of cell text.
[in]cell_textThe text content of cell.
[in]cell_imageThe image content of cell.
[in]cell_marginThe cell margin.
Returns
None.

Member Data Documentation

◆ cell_image

FoxitPDFSDKPython3.TableCellData.cell_image = _swig_property(_fsdk.TableCellData_cell_image_get, _fsdk.TableCellData_cell_image_set)
static

The image content of cell.

Note
Currently, it is not supported for text and image to exist in the same cell. For merged cells, their contents is text or image which is set in the first merged cell.

◆ cell_margin

FoxitPDFSDKPython3.TableCellData.cell_margin = _swig_property(_fsdk.TableCellData_cell_margin_get, _fsdk.TableCellData_cell_margin_set)
static

The cell margin between the content and cell border.

Note
This value does not represent a rectangle. It just defines the left margin, bottom margin, right margin and top margin of a table cell. The value should not be negative.

◆ cell_text

FoxitPDFSDKPython3.TableCellData.cell_text = _swig_property(_fsdk.TableCellData_cell_text_get, _fsdk.TableCellData_cell_text_set)
static

The text content of cell.

Note
Currently, it is not supported for text and image to exist in the same cell. For merged cells, their contents is text or image which is set in the first merged cell.