Table

Resumo geral

Table é uma classe em Aspose.Slides para Python. Herdeiros de: GraphicalObject, ITable.

Representa uma mesa num slide.

Propriedades

NameTypeAccessDescription
graphical_object_lockIGraphicalObjectLockReadGets the graphical object lock.
rowsIRowCollectionReadReturns the collectoin of rows.
columnsIColumnCollectionReadReturns the collectoin of columns.
table_formatITableFormatReadReturns the TableFormat object that contains formatting properties for this table.
style_presetTableStylePresetRead/WriteGets or sets builtin table style.
right_to_leftboolRead/WriteDetermines whether the table has right to left reading order.
first_rowboolRead/WriteDetermines whether the first row of a table has to be drawn with a special formatting.
first_colboolRead/WriteDetermines whether the first column of a table has to be drawn with a special formatting.
last_rowboolRead/WriteDetermines whether the last row of a table has to be drawn with a special formatting.
last_colboolRead/WriteDetermines whether the last column of a table has to be drawn with a special formatting.
horizontal_bandingboolRead/WriteDetermines whether the even rows has to be drawn with a different formatting.
vertical_bandingboolRead/WriteDetermines whether the even columns has to be drawn with a different formatting.
as_i_graphical_objectIGraphicalObjectReadGets the as i graphical object.
as_i_bulk_text_formattableIBulkTextFormattableReadGets the as i bulk text formattable.
raw_frameIShapeFrameRead/WriteReturns or sets the raw shape frame’s properties.
frameIShapeFrameRead/WriteReturns or sets the shape frame’s properties.
line_formatILineFormatReadReturns the LineFormat object that contains line formatting properties for a shape.
three_d_formatIThreeDFormatReadReturns the ThreeDFormat object that 3d effect properties for a shape.
effect_formatIEffectFormatReadReturns the EffectFormat object which contains pixel effects applied to a shape.
fill_formatIFillFormatReadReturns the FillFormat object that contains fill formatting properties for a shape.
hiddenboolRead/WriteDetermines whether the shape is hidden.
z_order_positionintReadReturns the position of a shape in the z-order.
connection_site_countintReadReturns the number of connection sites on the shape.
rotationfloatRead/WriteReturns or sets the number of degrees the specified shape is rotated around the z-axis.
xfloatRead/WriteGets or sets the x-coordinate of the shape’s upper-left corner, measured in points.
yfloatRead/WriteGets or sets the y-coordinate of the shape’s upper-left corner, measured in points.
widthfloatRead/WriteGets or sets the width of the shape, measured in points.
heightfloatRead/WriteGets or sets the height of the shape, measured in points.
unique_idintReadReturns an internal, presentation-scoped identifier intended for use by add-ins or other code.
office_interop_shape_idintReadReturns a slide-scoped unique identifier that remains constant for the lifetime of the shape and lets PowerPoint or interop code reliably reference the shape from anywhere in the document.
alternative_textstrRead/WriteReturns or sets the alternative text associated with a shape.
alternative_text_titlestrRead/WriteReturns or sets the title of alternative text associated with a shape.
namestrRead/WriteReturns or sets the name of a shape.
is_decorativeboolRead/WriteGets or sets ‘Mark as decorative’ option Reed/write .
is_groupedboolReadDetermines whether the shape is grouped.
slideIBaseSlideReadReturns the parent slide of a shape.
presentationIPresentationReadReturns the parent presentation of a slide.
as_i_slide_componentISlideComponentReadGets the as i slide component.
as_i_presentation_componentIPresentationComponentReadGets the as i presentation component.
is_text_holderboolReadDetermines whether the shape is TextHolder.
placeholderIPlaceholderReadReturns the placeholder for a shape.
custom_dataICustomDataReadReturns the shape’s custom data.

Métodos de avaliação

SignatureDescription
set_text_format()Applies the current text formatting to all cells in the table
merge_cells(cell1, cell2, allow_splitting)ICellMerges the range from cell1 to cell2 into a single cell; allow_splitting controls split behavior
__init__()Initialize an empty shape.
 Português