{"id":13778768,"url":"https://github.com/Oaz/AvaloniaUI.PrintToPDF","last_synced_at":"2025-05-11T12:31:48.154Z","repository":{"id":47194905,"uuid":"260482145","full_name":"Oaz/AvaloniaUI.PrintToPDF","owner":"Oaz","description":"Create PDF documents from Avalonia UI visuals","archived":false,"fork":false,"pushed_at":"2024-03-12T05:43:21.000Z","size":3500,"stargazers_count":65,"open_issues_count":3,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-03-26T15:02:21.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oaz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-05-01T14:42:11.000Z","updated_at":"2024-04-14T18:31:45.334Z","dependencies_parsed_at":"2024-01-13T12:22:55.657Z","dependency_job_id":"75dd10c9-02e2-4fdf-a76d-dbe5b035782b","html_url":"https://github.com/Oaz/AvaloniaUI.PrintToPDF","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaz%2FAvaloniaUI.PrintToPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaz%2FAvaloniaUI.PrintToPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaz%2FAvaloniaUI.PrintToPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oaz%2FAvaloniaUI.PrintToPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oaz","download_url":"https://codeload.github.com/Oaz/AvaloniaUI.PrintToPDF/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225048985,"owners_count":17412905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T18:00:57.295Z","updated_at":"2024-11-17T14:30:54.791Z","avatar_url":"https://github.com/Oaz.png","language":"C#","readme":"# AvaloniaUI.PrintToPDF\n\nThis is an experimental lib to create PDF documents from [Avalonia UI](https://github.com/AvaloniaUI/Avalonia) visuals.\n\nThe PDF files are generated by the [Skia](https://github.com/mono/SkiaSharp) PDF backend.\n\n## Demo\n\nThe demo app generates PDF files using some pages from the Avalonia Control Catalog.\n\nHere is [a sample PDF file](https://github.com/Oaz/AvaloniaUI.PrintToPDF/raw/master/doc/sample.pdf).\n\n## Usage\n\nOne of the simplest code is a full screenshot (in vector graphics) of a desktop app main window:\n\n```C#\nAvaloniaUI.PrintToPDF.Print.ToFile(\n  \"app_screenshot.pdf\",\n   (Application.Current.ApplicationLifetime as IClassicDesktopStyleApplicationLifetime).MainWindow\n);\n```\n","funding_links":[],"categories":["Libraries \u0026 Extensions"],"sub_categories":["Controls"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOaz%2FAvaloniaUI.PrintToPDF","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOaz%2FAvaloniaUI.PrintToPDF","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOaz%2FAvaloniaUI.PrintToPDF/lists"}