[]
        
(Showing Draft Content)

C1.WPF.Document.C1FoundPosition

C1FoundPosition Class

Represents a position in a document where a text was found.

Inheritance
C1FoundPosition
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public abstract class C1FoundPosition

Constructors

Name Description
C1FoundPosition()

Properties

Name Description
NearText

Gets the text near the found position.

PositionInNearText

Gets the zero-based position of the found string in NearText.

Methods

Name Description
GetBounds()

Returns the bounds of this C1FoundPosition on the page, rectangle calculated on the base of C1.WPF.Document.C1DocumentTextPosition.PageCoords.

GetEnd()

Returns C1.WPF.Document.C1DocumentTextPosition object defining end of searched text.

GetFragmentRange(RenderFragment)

Returns the object defining the part of fragment belongs to this C1FoundPosition. The type of object depends on type of fragment, for example, C1.WPF.Document.RenderTextFragment descendats return C1.WPF.Document.C1TextBlockRange object.

GetPage()

Returns C1.WPF.Document.C1Page object where find position located.

GetStart()

Returns C1.WPF.Document.C1DocumentTextPosition object defining start of searched text.