[]
Represents a fragment of text in a ITextMap.
public class TextMapFragment : List<TextLineFragment>, IList<TextLineFragment>, ICollection<TextLineFragment>, IList, ICollection, IReadOnlyList<TextLineFragment>, IReadOnlyCollection<TextLineFragment>, IEnumerable<TextLineFragment>, IEnumerable
Initializes a new instance of the TextMapFragment class.
public TextMapFragment()
Initializes a new instance of the TextMapFragment
public TextMapFragment(TextLineFragment tlf)
tlf
TextLineFragmentThe TextLineFragment to add to TextMapFragment.
Initializes a new instance of the TextMapFragment
public TextMapFragment(params TextLineFragment[] tlfs)
tlfs
TextLineFragment[]The array of TextLineFragment objects to add to TextMapFragment.
Adds another TextMapFragment to this.
public void Add(TextMapFragment other)
other
TextMapFragmentThe TextMapFragment to add.
Checks whether two TextMapFragment objects are the same.
public static bool AreSame(TextMapFragment tlf1, TextMapFragment tlf2)
tlf1
TextMapFragmenttlf2
TextMapFragmentCreates a normalized version of this TextMapFragment, in which:
public TextMapFragment Normalize(ITextMap textMap)
textMap
ITextMapThe text map to normalize.
The normalized TextMapFragment.