The GetDisplayedImageRectangle Method is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
(Read only) Gets the
System.Drawing.Rectangle that represents the image boundaries. This changes as you zoom in/out or offset the image.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetDisplayedImageRectangle() As Rectangle |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MedicalViewerCell
Dim value As Rectangle
value = instance.GetDisplayedImageRectangle() |
C# | |
---|
public Rectangle GetDisplayedImageRectangle() |
C++/CLI | |
---|
public:
Rectangle GetDisplayedImageRectangle(); |
Return Value
A
System.Drawing.Rectanglethat represents the image boundaries. This changes as you zoom in/out or offset the image.
Example
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