Table of Contents

Method WithTextRotation

Namespace
DocWright.Formats.Xlsx
Assembly
DocWright.Formats.Xlsx.dll

WithTextRotation(int)

Returns a copy with the text turned.

public XlsxCellStyle WithTextRotation(int rotation)

Parameters

rotation int

Excel's textRotation: 0 to 180 (see TextRotation).

Returns

XlsxCellStyle

The copy.

Exceptions

ArgumentOutOfRangeException

rotation is outside 0 to 180.