Exemplo n.º 1
0
        public static string ToShortDetailedString(this AspectRatio ratio)
        {
            if (ratio == AspectRatio._)
            {
                return("↑ Portrait    ↓ Landscape");
            }

            string part1 = ratio.ToShortString();
            float  part2 = ratio.GetRatioValue();

            return(string.Format("{0}\t= {1:0.00}", part1, part2));
        }