Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.TextMap Namespace / ITextMap Interface
Properties Methods

In This Topic
    ITextMap Interface Members
    In This Topic

    The following tables list the members exposed by ITextMap.

    Public Properties
     NameDescription
     Property (Inherited from System.Collections.Generic.IReadOnlyCollection<ITextLine>)
     PropertyIndicates whether this ITextMap is valid and can be used.

    The ITextMap becomes invalid after editing operations like DeleteText, ReplaceText etc.

     
     Property (Inherited from System.Collections.Generic.IReadOnlyList<ITextLine>)
     PropertyGets the GrapeCity.Documents.Pdf.Page object producing this ITextMap.  
     PropertyGets the list of text paragraphs.  
    Top
    Public Methods
     NameDescription
     MethodDeletes a specified text fragment.  
     MethodPerforms a text search within this text map. The callback is called for each found instance.  
     MethodGets the coordinates of a TextLineFragment on the page.  
     MethodOverloaded. Gets a TextMapFragment that represents the text within a specified range (from startPos to endPos).  
     MethodGets a TextMapFragment that represents the text from pos to the end of the page.  
     MethodGets a TextMapFragment that represents the text from the start of the page to pos.  
     MethodGets the array of points defining a polygon with coordinates of a TextLineFragment on the page.  
     MethodOverloaded. Gets the text of a TextLineFragment.  
     MethodGets the info about a word at a specified position in a line.  
     MethodPerforms hit testing on the map.

    This method accepts a pixel location relative to the top left corner of the page, and provides info about the text in that location.

    The pixel resolution is the resolution specified when building this text map (see GrapeCity.Documents.Pdf.Page.GetTextMap and other GetTextMap() overloads).

     
     MethodReplaces a specified text fragment with another text.  
    Top
    See Also