AJH.CMS.WEB.UI.Utilities.CMSUpload.GetProportionalThumbnailSize C# (CSharp) 메소드

GetProportionalThumbnailSize() 개인적인 정적인 메소드

private static GetProportionalThumbnailSize ( int originalWidth, int originalHeight ) : int[]
originalWidth int
originalHeight int
리턴 int[]
        private static int[] GetProportionalThumbnailSize(int originalWidth, int originalHeight)
        {
            int realWidth = ThumpnailWidth;
            int realHeight = ThumpnailHeight;

            realHeight = originalHeight * ThumpnailHeight / originalWidth;
            return new int[] { realWidth, realHeight };
        }
        #endregion