TextBuilder

TextBuilder

Przegląd

TextBuilder jest klasą w Aspose.PDF FOSS dla .NET.

Dodaje fragmenty tekstu do strony PDF, rejestrując czcionki w zasobach strony i zapisując operatory strumienia treści.

Ta klasa udostępnia 5 metod do pracy z obiektami TextBuilder w programach .NET. Dostępne metody to: AppendParagraph, AppendText, TextBuilder. Wszystkie publiczne członki są dostępne dla każdej aplikacji .NET po zainstalowaniu pakietu Aspose.PDF FOSS dla .NET.

Metody

SygnaturaOpis
TextBuilder(page: Page)Wywołuje TextBuilder(page) na tej instancji TextBuilder.
TextBuilder(page: Page, operatorCollection: BaseOperatorCollection)Utwórz TextBuilder powiązany ze stroną oraz z operator-collection sink.
AppendText(textFragments: List<TextFragment>)Dołącz fragment tekstu do strony.
AppendText(textFragment: TextFragment)Wywołuje AppendText(textFragment) na tej instancji TextBuilder.
AppendParagraph(textParagraph: TextParagraph)Dodaj akapit tekstowy do strony.

Zobacz także

 Polski