StyleValueSanitizer

StyleValueSanitizer

Overview

StyleValueSanitizer is a class in Aspose.Cells FOSS for C++.

Provides normalization helpers for style integer values.

This class provides 3 methods for working with StyleValueSanitizer objects in C++ programs. Available methods include: NormalizeIndentLevel, NormalizeReadingOrder, NormalizeTextRotation. All public members are accessible to any C++ application after installing the Aspose.Cells FOSS for C++ package.

Methods

SignatureDescription
NormalizeIndentLevel(value: std::optional<int>)intNormalizes an indent level value to the valid range [0, 250]. Returns 0 if the value is absent or out of range.
NormalizeReadingOrder(value: std::optional<int>)intNormalizes a reading order value to the valid range [0, 2]. Returns 0 if the value is absent or out of range.
NormalizeTextRotation(value: std::optional<int>)intNormalizes a text rotation value. Accepts 255 (vertical text) or [0, 180]. Returns 0 if the value is absent or out of range.

See Also

 English