LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

ImageSize Property (IImageListItem)






Gets or sets the image size in pixels .NET support Silverlight support
Syntax
Size ImageSize {get; set;}
'Declaration
 
Property ImageSize As Size
'Usage
 
Dim instance As IImageListItem
Dim value As Size
 
instance.ImageSize = value
 
value = instance.ImageSize
Size ImageSize {get; set;}
get_ImageSize();
set_ImageSize(value);
property Size ImageSize {
   Size get();
   void set (    Size value);
}

Property Value

The image size in pixels.
Remarks

The image size is the area inside the item where the image (in Source) will be drawn. This must be equal to or less than Width and Height.

The image will be drawn inside the rectangle define by ImageSize and centered inside Width and Height.

Example

For C#/VB examples, refer to IImageListItem.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IImageListItem Interface
IImageListItem Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.