ImageMan.Net Version 3 Summer 2012 Release
SetBounds Method
See Also  Send Feedback
DTI.ImageMan Namespace > MarkRedaction Class : SetBounds Method





x
The Left or X value of the Left Top Corner.
y
The Top or Y value of the Left Top Corner.
width
The Width of the Mark.
height
The Height of the Mark.

Glossary Item Box

Sets the Bounds for the Mark.

Syntax

Visual Basic (Declaration) 
Public Overrides Sub SetBounds( _
   ByVal x As System.Integer, _
   ByVal y As System.Integer, _
   ByVal width As System.Integer, _
   ByVal height As System.Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As MarkRedaction
Dim x As System.Integer
Dim y As System.Integer
Dim width As System.Integer
Dim height As System.Integer
 
instance.SetBounds(x, y, width, height)
C# 
public override void SetBounds( 
   System.int x,
   System.int y,
   System.int width,
   System.int height
)
JScript 
public override function SetBounds( 
   x : System.int,
   y : System.int,
   width : System.int,
   height : System.int
);
Managed Extensions for C++ 
public: void SetBounds( 
   System.int x,
   System.int y,
   System.int width,
   System.int height
) override 
C++/CLI 
public:
void SetBounds( 
   System.int x,
   System.int y,
   System.int width,
   System.int height
) override 

Parameters

x
The Left or X value of the Left Top Corner.
y
The Top or Y value of the Left Top Corner.
width
The Width of the Mark.
height
The Height of the Mark.

Remarks

Sets both the Location of the Left Top Corner as well as the Width and Height of the Mark at the same time.

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.