System::String::PadLeft 方法
String::PadLeft method
在原始字符串左侧添加填充。
String System::String::PadLeft(int totalWidth, char_t c=u' ') const
| 参数 | 类型 | 描述 |
|---|---|---|
| totalWidth | int | 要插入的填充字符数量。 |
| c | char_t | 填充字符。 |
ReturnValue
String with padding inserted.
另见
- Class String
- Class String
- Namespace System
- Library Aspose.Font for C++