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 )