MaskedTextBox.GetPositionFromCharIndex(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索控件中指定字符索引处的位置。
public:
override System::Drawing::Point GetPositionFromCharIndex(int index);
public override System.Drawing.Point GetPositionFromCharIndex(int index);
override this.GetPositionFromCharIndex : int -> System.Drawing.Point
Public Overrides Function GetPositionFromCharIndex (index As Integer) As Point
参数
- index
- Int32
要为其检索位置的字符的索引。
返回
指定字符在控件的客户端矩形中的位置。