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.7+3223c8b99fcd3402b4ae016daa480abac16f8a9f
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