Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Text Reflow

Text reflow refers to reorganizing the text to fit the device screen size and display a layout suitable for reading on different devices.

This example shows how to set text reflow:

c#
CPDFPage page = myCPDFDocument.PageAtIndex(0);
string myText = page.GetString();