[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.TextMap.TextMapFragment

TextMapFragment クラス

ITextMap に文字の範囲を表します。

継承
TextMapFragment
名前空間: GrapeCity.Documents.Pdf.TextMap
アセンブリ: DS.Documents.Pdf.dll
構文
public class TextMapFragment : List<TextLineFragment>, IList<TextLineFragment>, ICollection<TextLineFragment>, IList, ICollection, IReadOnlyList<TextLineFragment>, IReadOnlyCollection<TextLineFragment>, IEnumerable<TextLineFragment>, IEnumerable
Public Class TextMapFragment
    Inherits List(Of TextLineFragment)
    Implements IList(Of TextLineFragment), ICollection(Of TextLineFragment), IList, ICollection, IReadOnlyList(Of TextLineFragment), IReadOnlyCollection(Of TextLineFragment), IEnumerable(Of TextLineFragment), IEnumerable

コンストラクター

名前 説明
TextMapFragment()

TextMapFragment クラスの新しいインスタンスを初期化します。

TextMapFragment(TextLineFragment)

TextMapFragment の新しいインスタンスを初期化します。

TextMapFragment(params TextLineFragment[])

TextMapFragment の新しいインスタンスを初期化します。

メソッド

名前 説明
Add(TextMapFragment)

別の TextMapFragment を追加します。

AreSame(TextMapFragment, TextMapFragment)

2つの TextMapFragment オブジェクトが同じかどうかを確認します。

Normalize(ITextMap)

この TextMapFragment の正規化されたバージョンを作成します。

  • 交差するすべての TextLineFragment オブジェクトが結合されます。
  • すべての TextLineFragment オブジェクトは、最初に LineIndex でソートされ、次に StartIndex でソートされます。
  • すべての TextLineFragment オブジェクトには、-1 ではなく、行の境界と重複しない有効な Length があります。