[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.MaxPoint

MaxPoint Property

MaxPoint

Gets the IConditionValue that specifies how the longest bar is evaluated for a data bar conditional format.

Use the returned object to configure the maximum threshold for the data bar, such as a numeric limit or another supported condition value type.

Declaration
IConditionValue MaxPoint { get; }
ReadOnly Property MaxPoint As IConditionValue
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{10}, {20}, {30}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
IConditionValue maxPoint = dataBar.MaxPoint;
maxPoint.Type = ConditionValueTypes.Number;
maxPoint.Value = 30;