Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Recognition.Structure Namespace / Element Class
Properties Methods

In This Topic
    Element Class Members
    In This Topic

    The following tables list the members exposed by Element.

    Public Properties
     NameDescription
    Public PropertyGets the list of current element's child elements.

    Note that even if the current element has no children, accessing this property initializes the list. To simply check whether the element has any children, use HasChildren.

     
    Public PropertyGets the list of content items associated with the current element.

    Note that even if the current element has no associated content items, accessing this property initializes the list. To simply check whether the element has any associated content items, use HasContentItems.

     
    Public PropertyGets a value indicating whether the current element has any children Element objects (the Children list is not empty).

    Note that even if the current element has no children, accessing Children will initialize it, so using this property is recommended when checking whether an element has any children.

     
    Public PropertyGets a value indicating whether the current element has any content items associated with it (the ContentItems list is not empty).

    Note that even if there are no associated content items, accessing ContentItems will initialize it, so using this property is recommended when checking whether an element has any associated content items.

     
    Public PropertyGets a value indicating whether the current element has any children (the Items list is not empty).

    Note that even if the current element has no children, accessing Items will initialize it, so using this property is recommended when checking whether an element has any children.

     
    Public PropertyGets the list of current element's child elements.

    Note that even if the current element has no children, accessing this property initializes the list. To simply check whether the element has any children, use HasItems.

     
    Public PropertyGets the document logical structure to which this element belongs.  
    Public PropertyGets the parent of the current element.  
    Public PropertyGets the structure element (PDF tag) that was used to create this element.  
    Public PropertyGets the GrapeCity.Documents.Pdf.Structure.StructElement.Type if it is not null. Gets an empty string if GrapeCity.Documents.Pdf.Structure.StructElement.Type is null.  
    Top
    Public Methods
     NameDescription
    Public MethodIterates over child elements of this Element or its children, and returns an Element that matches a criteria specified via a callback.  
    Public MethodIterates over content items that belong to this Element or its children, and returns a ContentItem that matches a criteria specified via a callback.  
    Public MethodBuilds and returns the dot-delimited full name of this element including all parent elements' names.

    The result looks like "xxx.yyy.Type".

     
    Public MethodReturns the list of GrapeCity.Documents.Pdf.PdfImageInfo objects associated with the current element.  
    Public MethodReturns the list of GrapeCity.Documents.Pdf.TextMap.ITextParagraph objects representing the content associated with the current element.  
    Public MethodReturns the text associated with this element. This method calls GetParagraphs and returns an empty string if that method returns null.  
    Top
    See Also