Performs a search in the DocumentServer.PDF.Contents.Lines.ContentLines list using a string value, a regular expression or by performing a search in a geometric location.


public List<ContentLine> Find(string text);
Public Function Find(ByVal text As String) As List(Of ContentLine)

Find(String, System.Text.RegularExpressions.RegexOptions)

public List<ContentLine> Find(string regex, System.Text.RegularExpressions.RegexOptions options);
Public Function Find(ByVal regex As String, ByVal options As System.Text.RegularExpressions.RegexOptions) As List(Of ContentLine)

Find(System.Drawing.PointF, Float, Bool)

public List<ContentLine> Find(System.Drawing.PointF position, float radius, bool partially);
Public Function Find(ByVal position As System.Drawing.PointF, ByVal Optional radius As Single, ByVal Optional partially As Boolean) As List(Of ContentLine)

Find(System.Drawing.RectangleF, Bool)

public List<ContentLine> Find(System.Drawing.RectangleF rectangle, bool partially);
Public Function Find(ByVal rectangle As System.Drawing.RectangleF, ByVal Optional partially As Boolean) As List(Of ContentLine)


Parameter Description
text The string to search for in the document.
regex The regular expression that is used in the find process.
options The regular expression options.
position The geometric location in the document to search for.
radius The radius to define the search area.
rectangle The rectangle that is used for the find process.
partially Specifies whether the lines have to be completely inside the given rectangle or just intersect with it.

Return Value

Returns a list of DocumentServer.PDF.Contents.ContentLine objects that matches the find options.