Click or drag to resize
NanoXLSX

WorksheetReaderGetValidatedWidth Method

Gets the column width according to EnforceValidColumnDimensions

Namespace: NanoXLSX.LowLevel
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
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
ExceptionCondition
WorksheetExceptionThrows a WorksheetException if the raw value was invalid and EnforceValidColumnDimensions is set to true
See Also