←Select platform

Id Property

Summary

Unique ID of this mode.

Syntax
C#
C++/CLI
public abstract int Id { get; } 
public:  
   virtual property int Id 
   { 
      int get() abstract; 
   } 

Property Value

The unique ID of this mode.

Remarks

Each ImageViewerInteractiveMode must have its own unique ID. This value can be used with FindById and EnableById to quickly find or enable a mode.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
public void ImageViewerInteractiveModesFindById_Example() 
{ 
   ImageViewerPanZoomInteractiveMode panZoom = _imageViewer.InteractiveModes.FindById(ImageViewerInteractiveMode.PanZoomModeId) as ImageViewerPanZoomInteractiveMode; 
   ControlInertiaScrollOptions inertiaOptions = panZoom.InertiaScrollOptions; 
   inertiaOptions.IsEnabled = true; 
   panZoom.InertiaScrollOptions = inertiaOptions; 
} 
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.