Bloom.Book.SizeAndOrientation.ToString C# (CSharp) Method

ToString() public method

/// looks for the css which sets the paper size/orientation ///
public ToString ( ) : string
return string
        public override string ToString()
        {
            return PageSizeName + OrientationName;
        }

Usage Example

Example #1
0
        public override string ToString()
        {
            var s = "";

            if (!String.IsNullOrEmpty(Style) && Style.ToLowerInvariant() != "default")
            {
                s = Style;
            }
            return((SizeAndOrientation.ToString() + " " + s).Trim());
        }