Syncfusion.XlsIO.Base
Example 


Boolean Property (IRange)

Gets or sets boolean value in the Range.
Syntax
'Declaration
 
Property Boolean As Boolean
'Usage
 
Dim instance As IRange
Dim value As Boolean
 
instance.Boolean = value
 
value = instance.Boolean
bool Boolean {get; set;}
Example
The following code illustrates how to set and access Boolean property of the Range.
ExcelEngine excelEngine = new ExcelEngine();
IApplication application = excelEngine.Excel;
application.DefaultVersion = ExcelVersion.Excel2013;
IWorkbook workbook = application.Workbooks.Create(1);
            
IWorksheet sheet = workbook.Worksheets[0];
sheet.Range[2, 4].Boolean = true;
bool boolean = sheet.Range[2, 4].Boolean;
            
workbook.SaveAs("Boolean.xlsx");
workbook.Close();
excelEngine.Dispose();
AssemblyVersion

Syncfusion.XlsIO.Base: 16.3460.0.29

See Also