Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
HorizontalAlignMode Property
See Also 
Leadtools.Web.Controls Namespace > WebImagePanViewer Class : HorizontalAlignMode Property




Gets or sets the horizontal alignment used when displaying the pan image.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Appearance")>
<DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")>
Public Property HorizontalAlignMode As ImageViewerAlignMode
Visual Basic (Usage)Copy Code
Dim instance As WebImagePanViewer
Dim value As ImageViewerAlignMode
 
instance.HorizontalAlignMode = value
 
value = instance.HorizontalAlignMode
C# 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")]
public ImageViewerAlignMode HorizontalAlignMode {get; set;}
Managed Extensions for C++ 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")]
public: __property ImageViewerAlignMode get_HorizontalAlignMode();
public: __property void set_HorizontalAlignMode( 
   ImageViewerAlignMode value
);
C++/CLI 
[CategoryAttribute("Appearance")]
[DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")]
public:
property ImageViewerAlignMode HorizontalAlignMode {
   ImageViewerAlignMode get();
   void set (ImageViewerAlignMode value);
}

Return Value

The horizontal alignment used when displaying the pan image.

Example

Refer to OpenImageUrl example.

Remarks

Default value is Near.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also