PeachDrawing.PDF.PdfAnnotationAppearance

PdfAnnotationAppearance.FreeText(string, Font, PaintColor, Size) Method

Draws a box of text (FreeText): text on a pale background with a thin border.

public static System.Action<PeachDrawing.Core.Canvas> FreeText(string text, PeachDrawing.Core.Font font, PeachDrawing.Core.PaintColor textColor, PeachDrawing.Core.Size size);

Parameters

text System.String

the text

font Font

the font to draw it with

textColor PaintColor

the color of the text and the border

size Size

the size of the annotation, in points

Returns

System.Action<Canvas>