←Select platform

ImageSize Property

Summary

Gets or sets the image size in pixels

Syntax

C#
VB
C++
public Size ImageSize { get; set; } 
  
Property ImageSize As Size 
property Size ImageSize { 
   Size get(); 
   void set (    Size ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly