ImageMan.Net Version 3 Summer 2012 Release
Scaled Property
See Also  Send Feedback
DTI.ImageMan Namespace > MarkImage Class : Scaled Property

Glossary Item Box

Gets or sets a value indicating whether this MarkImage is scaled.


Visual Basic (Declaration) 
Public Overridable Property Scaled As System.Boolean
Visual Basic (Usage)Copy Code
Dim instance As MarkImage
Dim value As System.Boolean
instance.Scaled = value
value = instance.Scaled
public virtual System.bool Scaled {get; set;}
public function get,set Scaled : System.boolean
Managed Extensions for C++ 
public: __property virtual System.bool get_Scaled();
public: __property virtual void set_Scaled( 
   System.bool value
virtual property System.bool Scaled {
   System.bool get();
   void set (    System.bool value);

Property Value

true if scaled; otherwise, false.


If the image is scaled the portion of the entire image from the SourceLocation down and to the right up to SourceSize will be displayed at whatever aspect ratio is necessary to display it. This display option is less than optimal as it simply uses StretchBlt. And no interpolation has been done. For a better representation please scale and crop your image prior to display.

If an image is not scaled then it will maintain it's aspect ratio and only the portion that fits within the display rectangle or SourceSize whichever is smaller will be visible.


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.