[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IDataBar.PercentMin

PercentMin Property

PercentMin

Gets or sets the length of the shortest data bar as a percentage of the cell width.

Use this property to determine or change the minimum visual length applied to data bars in the conditional formatting rule.

Declaration
int PercentMin { get; set; }
Property PercentMin As Integer
Examples
worksheet.Range["A1:A3"].Value = new object[,] {{10}, {30}, {20}};
IDataBar dataBar = worksheet.Range["A1:A3"].FormatConditions.AddDatabar();
dataBar.PercentMin = 15;
int percentMin = dataBar.PercentMin;