This group contains samples that show how to use Docotic.Pdf library to extract text from a whole document or some of its pages, how to draw text in any language on a page's canvas using different fonts and different output options like word or character spacing.

Draw text

    This sample shows how to draw text on a canvas.

Draw text from baseline

    This sample shows how to draw text starting at font's baseline.

Fonts

    This sample shows how to use fonts in Docotic.Pdf library.

Internationalization

    This sample shows how to draw text in different languages.

Character spacing

    This sample shows how to change character spacing using PdfCanvas.CharacterSpacing property.

Word spacing

    This sample shows how to change word spacing using PdfCanvas.WordSpacing property.

Horizontal scaling

    This sample shows how to increase or decrease the size of a text line using horizontal scaling.

Text rendering mode

    This sample shows how to specify text rendering mode using PdfCanvas.TextRenderingMode property.

Text rise

    This sample shows how to adjust baseline of text (useful for drawing superscripts or subscripts) using PdfCanvas.TextRise property.

Tables

    This sample shows how to draw tables using methods for drawing text and lines.

Extract text

    This sample shows how to extract text from a page or from entire PDF document.

Extract text by words

    This sample shows how to extract text by words from a PDF page.