NanoXLSX Library Documentation
NanoXLSX Library Documentation
NanoXLSX
NanoXLSX.LowLevel
WorksheetReader Class
WorksheetReader Methods
CollectSelectedCells Method
ConvertDateFromDouble Method
ConvertDoubleToInt Method
ConvertTimeFromDouble Method
ConvertToBool Method
ConvertToDate Method
ConvertToDecimal Method
ConvertToDouble Method
ConvertToInt Method
ConvertToString Method
ConvertToTime Method
CreateCell Method
GetAutoFilters Method
GetColumns Method
GetDateTimeValue Method
GetEnforcedColumnValue Method
GetGloballyEnforcedFlagValues Method
GetGloballyEnforcedValue Method
GetMergedCells Method
GetNumericValue Method
GetSheetFormats Method
GetSheetProtection Method
GetSheetView Method
GetValidatedWidth Method
ManageSheetProtection Method
ProcessStyles Method
Read Method
ReadCell Method
ResolveCellData Method
ResolveSharedString Method
ResolveType Method
TryConvertDoubleToInt Method
TryParseBool Method
TryParseDate Method
TryParseTime Method
Worksheet
Reader
Get
Validated
Width Method
Gets the column width according to
EnforceValidColumnDimensions
Namespace:
NanoXLSX.LowLevel
Assembly:
NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
Copy
private
float
GetValidatedWidth
(
float
rawValue
)
Parameters
rawValue
Single
Raw column width
Return Value
Single
Modified column width in case
EnforceValidColumnDimensions
is set to false, and the raw value was invalid
Exceptions
Exception
Condition
WorksheetException
Throws a WorksheetException if the raw value was invalid and
EnforceValidColumnDimensions
is set to true
See Also
Reference
WorksheetReader Class
NanoXLSX.LowLevel Namespace
Copyright Raphael Stoeckli © 2025