Aspose::Cells::IConditionalFormattingValueCollection Class Referenceabstract

Describes a collection of CFValueObject. Use only for icon sets. More...

Inherits CollectionBase.

Public Member Functions

virtual intrusive_ptr< Aspose::Cells::IConditionalFormattingValueGetObjectByIndex (Aspose::Cells::Systems::Int32 index)=0
 Get the CFValueObject element at the specified index. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::FormatConditionValueType type, intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Adds IConditionalFormattingValue object. More...
 

Detailed Description

Describes a collection of CFValueObject. Use only for icon sets.

Member Function Documentation

◆ Add()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::IConditionalFormattingValueCollection::Add ( Aspose::Cells::FormatConditionValueType  type,
intrusive_ptr< Aspose::Cells::Systems::String >  value 
)
pure virtual

Adds IConditionalFormattingValue object.

Parameters
typeThe value type.
valueThe value.
Returns
Returns the index of new object in the list.

◆ GetObjectByIndex()

virtual intrusive_ptr<Aspose::Cells::IConditionalFormattingValue> Aspose::Cells::IConditionalFormattingValueCollection::GetObjectByIndex ( Aspose::Cells::Systems::Int32  index)
pure virtual

Get the CFValueObject element at the specified index.

Parameters
indexThe zero based index of the element.
Returns
The element at the specified index.