ImageMan.Net Version 3 Summer 2012 Release
Size Property
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > ThumbNailCommand Class : Size Property

Glossary Item Box

Gets or Sets the size of the ThumbNail to be created. Specifies the maximum size of the thumbnail.


Visual Basic (Declaration) 
Public Property Size As System.Drawing.Size
Visual Basic (Usage)Copy Code
Dim instance As ThumbNailCommand
Dim value As System.Drawing.Size
instance.Size = value
value = instance.Size
public System.Drawing.Size Size {get; set;}
public function get,set Size : System.Drawing.Size
Managed Extensions for C++ 
public: __property System.Drawing.Size get_Size();
public: __property void set_Size( 
   System.Drawing.Size value
property System.Drawing.Size Size {
   System.Drawing.Size get();
   void set (    System.Drawing.Size value);


The resultant image may be smaller in one dimension than the passed in size since the command will maintain the aspect ratio of the image.


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

© 2014 Data Techniques, Inc. All Rights Reserved.