LEADTOOLS WinRT(Leadtools.Controls)
LEAD Technologies, Inc

ImageSize Property


Gets or sets the size of the image in the viewer. WinRT support
Syntax
public virtual Size ImageSize {get; set;}
 get_ImageSize();
set_ImageSize(value);

Property Value

The size of the image in viewer. Default value is empty size.
Remarks

Initially, the value of ImageSize will be set to empty size. This indicates that the viewer does not have an image to view currently.

When you successfully set a new image into the viewer, ImageSize will be populated with the width and height of the image in pixels.

You can also set a value directly into ImageSize when performing owner draw painting without an image. Setting a value into ImageSize will remove any previously set image .

Example

For an example, refer to InteractiveModeCanvas.

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

ImageViewer Class
ImageViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

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