The GetDisplayedRectangle(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.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function GetDisplayedRectangle( _ 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.GetDisplayedRectangle(subCellIndex) |
C# | |
---|---|
public Rectangle GetDisplayedRectangle( int subCellIndex ) |
C++/CLI | |
---|---|
public: Rectangle GetDisplayedRectangle( 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.Rectangle that represents the display area of the cell/sub-cell.For an example refer to GetDisplayedClippedImageRectangle
- To get the rectangle of the whole image, call the method GetDisplayedImageRectangle
- To get the rectangle of displayed area of the image, call the method GetDisplayedClippedImageRectangle
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7