←Select platform

Format Property

Summary

Format of the drag object.

Syntax
C#
C++/CLI
public string Format { get; set; } 
public:  
   property String^ Format 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

The format of the drag object. Default value is RasterImage.RasterImageDataFormat.

Remarks

The following formats are supported: RasterImage.RasterImageDataFormat and System.Windows.Forms.DataFormats.Bitmap. For more information, refer to ImageViewerDragInteractiveMode.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
_imageViewer.InteractiveModes.BeginUpdate(); 
ImageViewerDragInteractiveMode dragMode = new ImageViewerDragInteractiveMode(); 
dragMode.AllowedEffects = DragDropEffects.Copy | DragDropEffects.Move | DragDropEffects.Link; 
_imageViewer.InteractiveModes.Add(dragMode); 
_imageViewer.InteractiveModes.EndUpdate(); 
Requirements

Target Platforms

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

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