Visual Basic (Declaration) | |
---|---|
<DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")> <CategoryAttribute("Appearance")> 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# | |
---|---|
[DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")] [CategoryAttribute("Appearance")] public ImageViewerAlignMode HorizontalAlignMode {get; set;} |
C++/CLI | |
---|---|
[DescriptionAttribute("Determines how to display the image horizontally in the control's client area.")] [CategoryAttribute("Appearance")] public: property ImageViewerAlignMode HorizontalAlignMode { ImageViewerAlignMode get(); void set ( ImageViewerAlignMode value); } |
Property Value
The horizontal alignment used when displaying the pan image.Refer to WebImageViewer.OpenImageUrl example.
Default value is Near.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7