Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetMaxLength method

TextBoxActiveXControl::SetMaxLength method

Gets and sets the maximum number of characters.

void Aspose::Cells::Drawing::ActiveXControls::TextBoxActiveXControl::SetMaxLength(int32_t value)

Examples

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

See Also