Spread for ASP.NET 10 Product Documentation
CanMove Property (SpreadImage)
Example 


Gets or sets whether the image can be moved.
Syntax
'Declaration
 
Public Property CanMove As Boolean
'Usage
 
Dim instance As SpreadImage
Dim value As Boolean
 
instance.CanMove = value
 
value = instance.CanMove
public bool CanMove {get; set;}
Example
This example adds an image to the sheet.
FarPoint.Web.Spread.SpreadImage image = new FarPoint.Web.Spread.SpreadImage();
image.CanMove = true;
image.CanSelect = true;
image.ImageUrl = "fplogo.png";
image.Width = 200;
image.Height = 150;
image.Left = 50;
image.Top = 50;
FpSpread1.ActiveSheetView.Images.Add(image);
Dim Image As New FarPoint.Web.Spread.SpreadImage()
Image.CanMove = True
Image.CanSelect = True
Image.ImageUrl = "fplogo.png"
Image.Width = 200
Image.Height = 150
Image.Left = 50
Image.Top = 50
FpSpread1.ActiveSheetView.Images.Add(Image)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SpreadImage Class
SpreadImage Members

 

 


Copyright © GrapeCity, inc. All rights reserved.