←Select platform

TextHorizontalAlignment Property

Summary

Specifies how to align the text inside their items horizontally.

Syntax
C#
VB
C++
public virtual ControlAlignment TextHorizontalAlignment { get; set; } 
Public Overridable Property TextHorizontalAlignment() As ControlAlignment 
   Get 
   Set 
public:  
   virtual property ControlAlignment^ TextHorizontalAlignment 
   { 
      ControlAlignment^ get() 
      void set(ControlAlignment^ value) 
   } 

Property Value

The value used to align the text inside their items horizontally. Default value is ControlAlignment.Near.

Remarks

Setting this value will automatically update ImageViewerItem.TextHorizontalAlignment of all the items in this viewer to the same value. To change an item value individually, use the item property directly.

For more information, refer to Image Viewer Appearance.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly