Click or drag to resize
NanoXLSX

StyleReaderContainerGetStyle(Int32, Boolean, Boolean) Method

Returns a whole style by its index. It also returns information about the type of the style

Namespace: NanoXLSX.LowLevel
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public Style GetStyle(
	int index,
	out bool isDateStyle,
	out bool isTimeStyle
)

Parameters

index  Int32
Index of the style
isDateStyle  Boolean
Out parameter that indicates whether the style represents a date
isTimeStyle  Boolean
Out parameter that indicates whether the style represents a time

Return Value

Style
Style object or null if the component could not be retrieved
See Also