textHorizontalAlignment Property (ImageViewer)

Summary

Specifies how to align the text inside their items horizontally.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype, 'textHorizontalAlignment', 
	get: function(), 
	set: function(value) 
) 
TypeScript Syntax
textHorizontalAlignment: ControlAlignment; 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize