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

Glossary Item Box

Gets or Sets the area of the source image you wish to scale


Visual Basic (Declaration) 
Public Property SourceArea As System.Drawing.Rectangle
Visual Basic (Usage)Copy Code
Dim instance As ScaleCommand
Dim value As System.Drawing.Rectangle
instance.SourceArea = value
value = instance.SourceArea
public System.Drawing.Rectangle SourceArea {get; set;}
public function get,set SourceArea : System.Drawing.Rectangle
Managed Extensions for C++ 
public: __property System.Drawing.Rectangle get_SourceArea();
public: __property void set_SourceArea( 
   System.Drawing.Rectangle value
property System.Drawing.Rectangle SourceArea {
   System.Drawing.Rectangle get();
   void set (    System.Drawing.Rectangle value);


If the Source Area rectangle's parameters are all 0 then the entire image will be scaled.


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.