ImageMan.Net Version 3 Summer 2012 Release
MarkImage Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Annotation Class : MarkImage Method





image
The ImImage to mark if needed, mandatory.
width
optional width of returned image
height
optional height of returned image
source
optional Source rectangle specifying portion of image to render
bestFit
when scaling an image maintain aspect ratio

Glossary Item Box

Mark Image will return an image with annotation marks on it if any are associated with the image.

Syntax

Visual Basic (Declaration) 
Public Shared Function MarkImage( _
   ByVal image As ImImage, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer, _
   ByVal source As System.Drawing.Rectangle, _
   ByVal bestFit As System.Boolean _
) As ImImage
Visual Basic (Usage)Copy Code
Dim image As ImImage
Dim width As System.Integer
Dim height As System.Integer
Dim source As System.Drawing.Rectangle
Dim bestFit As System.Boolean
Dim value As ImImage
 
value = Annotation.MarkImage(image, width, height, source, bestFit)
C# 
public static ImImage MarkImage( 
   ImImage image,
   System.int width,
   System.int height,
   System.Drawing.Rectangle source,
   System.bool bestFit
)
JScript 
public static function MarkImage( 
   image : ImImage,
   width : System.int,
   height : System.int,
   source : System.Drawing.Rectangle,
   bestFit : System.boolean
) : ImImage;
Managed Extensions for C++ 
public: static ImImage* MarkImage( 
   ImImage* image,
   System.int width,
   System.int height,
   System.Drawing.Rectangle source,
   System.bool bestFit
) 
C++/CLI 
public:
static ImImage^ MarkImage( 
   ImImage^ image,
   System.int width,
   System.int height,
   System.Drawing.Rectangle source,
   System.bool bestFit
) 

Parameters

image
The ImImage to mark if needed, mandatory.
width
optional width of returned image
height
optional height of returned image
source
optional Source rectangle specifying portion of image to render
bestFit
when scaling an image maintain aspect ratio

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

© 2014 Data Techniques, Inc. All Rights Reserved.