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




Gets or sets the ID of the WebImageViewer control currently assigned for panning process by the control.

Syntax

Visual Basic (Declaration) 
<DescriptionAttribute("The ID of the WebImageViewer used to display selected thumbnail image. ")>
<CategoryAttribute("Behavior")>
Public Property ViewerID As String
Visual Basic (Usage)Copy Code
Dim instance As WebImagePanViewer
Dim value As String
 
instance.ViewerID = value
 
value = instance.ViewerID
C# 
[DescriptionAttribute("The ID of the WebImageViewer used to display selected thumbnail image. ")]
[CategoryAttribute("Behavior")]
public string ViewerID {get; set;}
Managed Extensions for C++ 
[DescriptionAttribute("The ID of the WebImageViewer used to display selected thumbnail image. ")]
[CategoryAttribute("Behavior")]
public: __property string* get_ViewerID();
public: __property void set_ViewerID( 
   string* value
);
C++/CLI 
[DescriptionAttribute("The ID of the WebImageViewer used to display selected thumbnail image. ")]
[CategoryAttribute("Behavior")]
public:
property String^ ViewerID {
   String^ get();
   void set (String^ value);
}

Return Value

The ID of the WebImageViewer which has an image to be pan using the WebImagePanViewer control.

Example

Refer to OpenImageUrl example.

Remarks

This property contains the ID of the WebImageViewer object which contains an image to be pan using the WebImagePanViewer control.

Whenever the WebImageViewer property is changed, the image displayed in the WebImagePanViewer control is affect by this change.

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