This property sets the vertical position of the text.
[Visual
Basic] imagekitcontrolname.PrintDraw.VCentering
[ = Integer ]
[Visual
C++] imagekitcontrolname.GetPrintDraw().SetVCentering(short
Val)
Property Value
The VCentering property value sets the vertical position of the text.
Value | Explanation |
---|---|
0 | Top |
1 | Center |
2 | Bottom |
Explanation
The VCentering property sets the position of the text. This property is enabled when the DrawString, DrawText, or MeasureString method is executed.
Setting this value
This value can be set at runtime.
Retrieving this value
This value cannot be retrieved.