Aspose::Cells::IColumn Class Referenceabstract

Inherits Object.

Public Member Functions

virtual Aspose::Cells::Systems::Int32 GetIndex ()=0
 Gets the index of this column. More...
 
virtual Aspose::Cells::Systems::Double GetWidth ()=0
 Gets the column width in unit of characters. More...
 
virtual void SetWidth (Aspose::Cells::Systems::Double value)=0
 Sets the column width in unit of characters. More...
 
virtual Aspose::Cells::Systems::Byte GetGroupLevel ()=0
 Gets the group level of the column. More...
 
virtual bool IsHidden ()=0
 Indicates whether the column is hidden. More...
 
virtual void SetHidden (bool value)=0
 Indicates whether the column is hidden. More...
 
virtual void ApplyIStyle (intrusive_ptr< Aspose::Cells::IStyle > style, intrusive_ptr< Aspose::Cells::IStyleFlag > flag)=0
 Applies formats for a whole column. More...
 
virtual intrusive_ptr< Aspose::Cells::IStyleGetIStyle ()=0
 Gets the style of this column. More...
 
virtual bool IsCollapsed ()=0
 whether the column is collapsed More...
 
virtual void SetCollapsed (bool value)=0
 whether the column is collapsed More...
 

Member Function Documentation

◆ ApplyIStyle()

virtual void Aspose::Cells::IColumn::ApplyIStyle ( intrusive_ptr< Aspose::Cells::IStyle style,
intrusive_ptr< Aspose::Cells::IStyleFlag flag 
)
pure virtual

Applies formats for a whole column.

Parameters
styleThe style object which will be applied.
flagFlags which indicates applied formatting properties.

◆ GetGroupLevel()

virtual Aspose::Cells::Systems::Byte Aspose::Cells::IColumn::GetGroupLevel ( )
pure virtual

Gets the group level of the column.

◆ GetIndex()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IColumn::GetIndex ( )
pure virtual

Gets the index of this column.

◆ GetIStyle()

virtual intrusive_ptr<Aspose::Cells::IStyle> Aspose::Cells::IColumn::GetIStyle ( )
pure virtual

Gets the style of this column.

You have to call Column.ApplyIStyle() method to save your changing with the row style, otherwise it will not effect.

◆ GetWidth()

virtual Aspose::Cells::Systems::Double Aspose::Cells::IColumn::GetWidth ( )
pure virtual

Gets the column width in unit of characters.

◆ IsCollapsed()

virtual bool Aspose::Cells::IColumn::IsCollapsed ( )
pure virtual

whether the column is collapsed

◆ IsHidden()

virtual bool Aspose::Cells::IColumn::IsHidden ( )
pure virtual

Indicates whether the column is hidden.

◆ SetCollapsed()

virtual void Aspose::Cells::IColumn::SetCollapsed ( bool  value)
pure virtual

whether the column is collapsed

◆ SetHidden()

virtual void Aspose::Cells::IColumn::SetHidden ( bool  value)
pure virtual

Indicates whether the column is hidden.

◆ SetWidth()

virtual void Aspose::Cells::IColumn::SetWidth ( Aspose::Cells::Systems::Double  value)
pure virtual

Sets the column width in unit of characters.