LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
GetDisplayedImageRectangle(Int32) Method
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerMultiCell Class > GetDisplayedImageRectangle Method : GetDisplayedImageRectangle(Int32) Method



subCellIndex
The zero-based index of the sub-cell of the rectangle that the method will retrieve.

The GetDisplayedImageRectangle(Int32) Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

subCellIndex
The zero-based index of the sub-cell of the rectangle that the method will retrieve.
(Read only) Gets the System.Drawing.Rectangle that represents the image boundaries. This changes as you zoom in and out or offset the image.

Syntax

Visual Basic (Declaration) 
Overloads Public Function GetDisplayedImageRectangle( _
   ByVal subCellIndex As Integer _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerMultiCell
Dim subCellIndex As Integer
Dim value As Rectangle
 
value = instance.GetDisplayedImageRectangle(subCellIndex)
C# 
public Rectangle GetDisplayedImageRectangle( 
   int subCellIndex
)
C++/CLI 
public:
Rectangle GetDisplayedImageRectangle( 
   int subCellIndex
) 

Parameters

subCellIndex
The zero-based index of the sub-cell of the rectangle that the method will retrieve.

Return Value

A System.Drawing.Rectanglethat represents the image boundaries. This changes as you zoom in and out or offset the image.

Example

For an example refer to GetDisplayedClippedImageRectangle

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features