PeachDrawing.PDF.PdfAnnotationAppearance

PdfAnnotationAppearance.Icon(PdfAnnotationIcon, Size, Nullable<PaintColor>) Method

Draws icon filling a box of size points.

public static System.Action<PeachDrawing.Core.Canvas> Icon(PeachDrawing.PDF.PdfAnnotationIcon icon, PeachDrawing.Core.Size size, System.Nullable<PeachDrawing.Core.PaintColor> color=null);

Parameters

icon PdfAnnotationIcon

the icon

size Size

the size of the annotation, in points

color System.Nullable<PaintColor>

the icon’s fill, or null for DefaultIconColor

Returns

System.Action<Canvas>