ColumnFormatGetEffective Method |
Gets effective table column formatting properties with inheritance and table styles applied.
Namespace:
Aspose.Slides
Assembly:
Aspose.Slides (in Aspose.Slides.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic IColumnFormatEffectiveData GetEffective()
Public Function GetEffective As IColumnFormatEffectiveData
public:
virtual IColumnFormatEffectiveData^ GetEffective() sealed
abstract GetEffective : unit -> IColumnFormatEffectiveData
override GetEffective : unit -> IColumnFormatEffectiveData
Return Value
Type:
IColumnFormatEffectiveDataA
IColumnFormatEffectiveData.
Implements
IColumnFormatGetEffective
Examples
This example demonstrates getting effective fill format for different table logic parts.
Please note that cell formatting always has higher priority than row formatting, row - higher than column, column - higher that whole table.
So finally CellFormatEffectiveData properties always used to draw the table. The following code is just an example of API.
[C#]
using (Presentation pres = new Presentation(@"MyPresentation.pptx"))
{
ITable tbl = pres.Slides[0].Shapes[0] as ITable;
IFillFormatEffectiveData tableFillFormatEffective = tbl.TableFormat.GetEffective().FillFormat;
IFillFormatEffectiveData rowFillFormatEffective = tbl.Rows[0].RowFormat.GetEffective().FillFormat;
IFillFormatEffectiveData columnFillFormatEffective = tbl.Columns[0].ColumnFormat.GetEffective().FillFormat;
IFillFormatEffectiveData cellFillFormatEffective = tbl[0, 0].CellFormat.GetEffective().FillFormat;
}
See Also