ADBaseLibrary.Subtitles.TTML.GetFontSize C# (CSharp) Method

GetFontSize() private method

private GetFontSize ( Style s ) : int
s Style
return int
        private int GetFontSize(Style s)
        {
            if (string.IsNullOrEmpty(s.FontSize))
                return 26;
            int o;
            if (int.TryParse(s.FontSize, out o))
                return o;
            return 26;
        }