documentation/docfx/releases/1.49.4.md
tvOS support and PDF creation · Preview only · NuGet · GitHub Release
This beta adds Apple tvOS as a supported platform and introduces PDF document creation via the new SKDocument API, enabling developers to generate multi-page PDF files using familiar SkiaSharp drawing methods.
None in this release.
SKDocument API enables creating multi-page PDF files using standard SKCanvas drawing operations.using (var stream = new SKFileWStream("document.pdf"))
using (var document = SKDocument.CreatePdf(stream))
{
using (var canvas = document.BeginPage(width, height))
using (var paint = new SKPaint())
{
canvas.DrawText("...PDF...", 10f, 100f, paint);
document.EndPage();
}
document.Close();
}
| Platform | What's New |
|---|---|
| 🍎 Apple | tvOS support added |