[TextBoxActiveXControl.MaxLength property 获取和设置最大字符数 public int MaxLength { get; set; } 也可以看看 class TextBoxActiveXControl 命名空间 Aspose.Cells.Drawing.ActiveXControls 部件 Aspose.Cells]