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;
            }
        }