Visual Basic (Declaration) | |
---|---|
Public Function RectangleToImage( _ ByVal viewPerspective As RasterViewPerspective, _ ByVal rc As Rectangle _ ) As Rectangle |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Rectangle RectangleToImage( RasterViewPerspective viewPerspective, Rectangle rc ) |
C++/CLI | |
---|---|
public: Rectangle RectangleToImage( RasterViewPerspective viewPerspective, Rectangle rc ) |
Parameters
- viewPerspective
- Source view perspective from which the rectangle should be translated.
- rc
- The rectangle to translate.
Return Value
The translated rectangle.For an example, refer to RectangleFromImage.
For more information, refer to Accounting for View Perspective.
For more information, refer to Changing Image Coordinates.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family