Method GetTextWithFormatting
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetTextWithFormatting()
Retrieves all text drawn on all pages of the document formatted as seen in a PDF viewer.
public string GetTextWithFormatting()
Returns
- string
All text drawn on all pages of the document formatted as seen in a PDF viewer.
Remarks
Bidirectional and right-to-left text is returned according to the logical order.
Unicode code points from Arabic and Hebrew presentation forms are normalized to the Normalization Form KC.
Read the Convert PDF to formatted text for an example of using this method.