I want to set the indention level of a cell's content. Using APIMate I get just what I expect:
fmt = xls.GetCellVisibleFormatDef(2, 1);
fmt.Indent = 1;
xls.SetCellFormat(2, 1, xls.AddFormat(fmt));
The problem is that Visual Studio and the documentation indicate that the Indent property is a byte. Therefore the line fmt.Indent = 1 indicates an error in Visual Studio.
So how do I indent a cell's content?