Leadtools.WinForms Namespace > RasterImageList Class : GetFixedAspectRatioImageRectangle Method |
public static Rectangle GetFixedAspectRatioImageRectangle( int imageWidth, int imageHeight, Rectangle imageRect )
'Declaration Public Shared Function GetFixedAspectRatioImageRectangle( _ ByVal imageWidth As Integer, _ ByVal imageHeight As Integer, _ ByVal imageRect As Rectangle _ ) As Rectangle
'Usage Dim imageWidth As Integer Dim imageHeight As Integer Dim imageRect As Rectangle Dim value As Rectangle value = RasterImageList.GetFixedAspectRatioImageRectangle(imageWidth, imageHeight, imageRect)
public static Rectangle GetFixedAspectRatioImageRectangle( int imageWidth, int imageHeight, Rectangle imageRect )
function Leadtools.WinForms.RasterImageList.GetFixedAspectRatioImageRectangle( imageWidth , imageHeight , imageRect )
public: static Rectangle GetFixedAspectRatioImageRectangle( int imageWidth, int imageHeight, Rectangle imageRect )
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