Cell
Panoramica
Cell è una classe in Aspose.Slides FOSS per Python. Eredita da: ICell, ISlideComponent, IPresentationComponent.
Rappresenta una cella di una tabella.
Proprietà: anchor_center, as_i_presentation_component, as_i_slide_component, cell_format, col_span, first_column, e altre 20.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
offset_x | float | Lettura | Restituisce una distanza dal lato sinistro di una tabella al lato sinistro di una cella. |
offset_y | float | Lettura | Restituisce una distanza dal lato superiore di una tabella al lato superiore di una cella. |
first_row_index | int | Lettura | Restituisce l’indice della prima riga coperta dalla cella. |
first_column_index | int | Lettura | Restituisce l’indice della prima colonna coperta dalla cella. |
width | float | Lettura | Restituisce la larghezza della cella. |
height | float | Lettura | Restituisce l’altezza della cella. |
minimal_height | float | Lettura | Restituisce l’altezza minima di una cella. |
margin_left | float | Lettura/Scrittura | Restituisce o imposta il margine sinistro in un TextFrame. |
margin_right | float | Lettura/Scrittura | Restituisce o imposta il margine destro in un TextFrame. |
margin_top | float | Lettura/Scrittura | Restituisce o imposta il margine superiore in un TextFrame. |
margin_bottom | float | Lettura/Scrittura | Restituisce o imposta il margine inferiore in un TextFrame. |
text_vertical_type | TextVerticalType | Lettura/Scrittura | Restituisce o imposta il tipo di testo verticale. |
text_anchor_type | TextAnchorType | Lettura/Scrittura | Restituisce o imposta il tipo di ancoraggio del testo. |
anchor_center | bool | Lettura/Scrittura | Determina se la casella di testo è centrata all’interno di una cella. |
first_row | IRow | Lettura | Ottiene la prima riga della cella. |
first_column | IColumn | Lettura | Ottiene la prima colonna della cella. |
col_span | int | Lettura | Restituisce il numero di colonne della griglia nella griglia della tabella padre che deve essere coperta dalla cella corrente. |
row_span | int | Lettura | Restituisce il numero di righe che una cella unita occupa. |
text_frame | ITextFrame | Lettura | Restituisce il frame di testo di una cella. |
table | ITable | Lettura | Restituisce l’oggetto Table genitore per una cella. |
is_merged_cell | bool | Lettura | Restituisce true se la cella è unita a qualsiasi cella regolata, false altrimenti. |
cell_format | ICellFormat | Lettura | Restituisce l’oggetto CellFormat che contiene le proprietà di formattazione per questa cella. |
slide | IBaseSlide | Lettura | Restituisce la slide genitore di una cella. |
presentation | IPresentation | Lettura | Restituisce la presentazione genitore di una cella. |
as_i_slide_component | ISlideComponent | Lettura | Ottiene il componente as i slide. |
as_i_presentation_component | IPresentationComponent | Lettura | Ottiene il componente di presentazione as i. |