LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
VerticalAlignMode Property
See Also 
Leadtools.Web.Controls Namespace > WebImagePanViewer Class : VerticalAlignMode Property



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

Syntax

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

Property Value

The vertical alignment used when displaying the pan image.

Example

Refer to WebImageViewer.OpenImageUrl example.

Remarks

Default value is Near.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also