iTextSharp.text.Phrase.IsEmpty C# (CSharp) Метод

IsEmpty() публичный Метод

Checks is this Phrase contains no or 1 empty Chunk.
public IsEmpty ( ) : bool
Результат bool
        public bool IsEmpty() {
            switch (Count) {
                case 0:
                    return true;
                case 1:
                    IElement element = (IElement) this[0];
                    if (element.Type == Element.CHUNK && ((Chunk) element).IsEmpty()) {
                        return true;
                    }
                    return false;
                default:
                    return false;
            }
        }