Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::GetMaxLength method

TextBoxActiveXControl::GetMaxLength method

Gets and sets the maximum number of characters.

int32_t Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::GetMaxLength()

Examples

if (activeXControl.GetMaxLength() == 0)
{
    activeXControl.SetMaxLength(30);
}

See Also