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

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

Checks if the Cell is empty.
public IsEmpty ( ) : bool
Результат bool
        public bool IsEmpty() {
            switch (this.Size) {
                case 0:
                    return true;
                case 1:
                    IElement element = (IElement)arrayList[0];
                switch (element.Type) {
                    case Element.CHUNK:
                        return ((Chunk) element).IsEmpty();
                    case Element.ANCHOR:
                    case Element.PHRASE:
                    case Element.PARAGRAPH:
                        return ((Phrase) element).IsEmpty();
                    case Element.LIST:
                        return ((List) element).IsEmpty();                        
                }
                    return false;
                default:
                    return false;
            }
        }