VectorExport
public static class VectorExportEPS, SVG and HTML output of rendered labels. "Outline" output traces the 1-bit label into filled rectangles, so text, barcodes and graphics become resolution-independent vector shapes (no fonts are embedded).
Methods
| Method Signature | Returns | Description |
|---|---|---|
static # ToEps(SKBitmap bitmap, int dpi = 203, bool outlines = false, string? title = default) | byte[] | Encapsulated PostScript (EPSF-3.0) of one label in physical size. outlines = vector rectangles (text as outlines); otherwise a 1-bit image. |
static # ToHtml(IEnumerable<SKBitmap> labels, int dpi = 203, HtmlLabelImageFormat format = HtmlLabelImageFormat.Png, string title = "Labels") | string | HTML page showing all labels in physical size, each embedded as PNG/GIF data URI or inline SVG. |
static # ToSvg(SKBitmap bitmap, int dpi = 203, SKColor? ink = default, SKColor? background = default) | string | SVG of one label; physical size from dpi, vector rectangles in dot units. |
static # ToSvgImage(SKBitmap bitmap, int dpi = 203) | string | SVG of one label with the bitmap embedded as PNG (physical size from dpi). |
static # TraceRectangles(SKBitmap bitmap, byte threshold = 128) | List<SKRectI> | Black areas of the label as rectangles (horizontal runs merged vertically), in dots. |

