Performs a search in the Document
public List<ContentLine> Find(string text);
Public Function Find(ByVal text As String) As List(Of ContentLine)
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)
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)
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. |
Returns a list of Document