Search Results for

    Show / Hide Table of Contents

    TAdaptativeFormats Class

    Information about characters in a numeric format that need to be adapted when rendering. For example, if the cell A1 has value 1 and format "*_0" it will print as "______1" when the cell is wide, and as "_1" when the cell is shorter.

    Syntax

    Namespace: FlexCel.Core

    public class TAdaptativeFormats

    Methods

    Name Description
    ApplySeparators Returns the string with the characters at the positions in Separator changed by the characters specified in Separators.
    AddSeparator Overloaded
    AddSeparator(String, Int32)
    AddSeparator(String, Int32, Int32)

    Properties

    Name Description
    WildcardPos Position of the last wildcard ("*") character in the format (0 based). If a wildcard is present in the format, the string has to be expanded with the character at position until it fits the width of the cell.
    A negative value means there is no wildcard in the format.
    Separators An array of positions and characters that must be used to pad the string. In this field you have the the "_" and "?" numeric format delimiters from Excel.
    The spaces at the positions in the position array should have the width of the character specified in this field.
    If null, there are no separators in this class.
    IsEmpty Returns true if this class has no adaptative formats.
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com