Click or drag to resize
NanoXLSX

StyleRepositoryAddStyle Method

Adds a style to the repository and returns the actual reference

Namespace: NanoXLSX.Styles
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.5+4f4b44a718a20dda8ca2c0c4d00bd7eee7c80f5d
Syntax
C#
public Style AddStyle(
	Style style
)

Parameters

style  Style
Style to add

Return Value

Style
Reference from the repository. If the style to add already existed, the existing object is returned, otherwise the newly added one
See Also