[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Recognition.Structure.ContentItem

Class ContentItem

Namespace
GrapeCity.Documents.Pdf.Recognition.Structure
Assembly
GcDocs.Pdf.dll

The base abstract class for McidContentItem and McrContentItem classes. Represents a content item associated with a portion of a content stream.

public abstract class ContentItem : ContentItemBase
Inheritance
object
ContentItem
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

ContentItem()

protected ContentItem()

Methods

GetImages()

Gets the list of images associated with the current content item.

public IList<PdfImageInfo> GetImages()

Returns

System.Collections.Generic.IList<T><PdfImageInfo>

The list of images.

GetParagraph()

Returns an ITextParagraph object representing the paragraph of text associated with the current content item, or null if no paragraph is associated with current item.

public ITextParagraph GetParagraph()

Returns

ITextParagraph

The ITextParagraph representing the paragraph, or null.

GetText()

Returns the text of the paragraph associated with the current content item (as returned by GetParagraph()), or an empty string if no paragraph is associated with the current item.

public string GetText()

Returns

string

The text of the paragraph, or null.