iTextSharp.text.pdf.ColumnText.isAllowedElement C# (CSharp) Метод

isAllowedElement() публичный статический метод

public static isAllowedElement ( IElement element ) : bool
element IElement
Результат bool
    public static bool isAllowedElement(IElement element) {
        int type = element.Type;
        if (type == Element.CHUNK || type == Element.PHRASE
                || type == Element.PARAGRAPH || type == Element.LIST
                || type == Element.YMARK || type == Element.PTABLE || type == Element.DIV) return true;
        if (element is Image) return true;
        return false;
    }