StyleValueSanitizer

StyleValueSanitizer

Overview

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

Provides normalization helpers for style integer values.

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