Мельница данных  (10.04.2026)
Метод AddFormatCondition

Метод интерфейса ISpreadSheet.

1function ISpreadSheet.AddFormatCondition(Left: Integer; Top: Integer; 
2  Right: Integer; Bottom: Integer; Priority: Integer; StopIfTrue: WordBool; 
3  FormatConditionType: XlFormatConditionType; 
4  FormatConditionOperator: XlFormatConditionOperator; Formula1Node: OleVariant; 
5  const Formula1Text: WideString; Formula2Node: OleVariant; 
6  const Formula2Text: WideString; Style: ISheetStyle): Integer;

Параметры:

Имя Тип Обязательно Значение
Left Integer Да

Top Integer Да

Right Integer Да

Bottom Integer Да

Priority Integer Да

StopIfTrue WordBool Да

FormatConditionTypeXlFormatConditionType Да

FormatConditionOperatorXlFormatConditionOperator Да

Formula1Node OleVariant Да

Formula1Text WideString Да

Formula2Node OleVariant Да

Formula2Text WideString Да

StyleISheetStyle Да

Замечания:

Возвращает значение типа Integer.


См. также