This property sets the horizontal position of the text.

[Visual Basic]   imagekitcontrolname.PrintDraw.HCentering [ = Integer ]
[Visual C++]     imagekitcontrolname.GetPrintDraw().SetHCentering(short Val)
[VB.NET]   imagekitcontrolname.PrintDraw.HCentering [ = Short ]
[C#.NET]   imagekitcontrolname.PrintDraw.HCentering [ = short ]

Property Value

The HCentering property value sets the horizontal position of the text.

Value Explanation
0 Left
1 Center
2 Right

Explanation

The HCentering 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.

 

The ImageKit9 ActiveX is a product created by Newtone Corporation