Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>XtudioPdfNew to Visual Studio Code? Get it now.
XtudioPdf

XtudioPdf

Telcomdev

| (0) | Free
Visual PDF designer for .NET: create documents from the explorer and edit .pdfx files with the designer inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

XtudioPdf for VS Code

Design the PDFs of your .NET project without leaving the editor.

  • Right-click a folder → "New XtudioPdf document…": asks for the name and size and creates Name.pdfx (the template), its sample data, the DTO and the report class in that folder.
  • Open a .pdfx: the visual designer opens in the tab. What you save there is written to the file; the { } button in the tab bar opens it as JSON.
  • Grouped files: in the explorer, the .sample.json, Dto.cs and Report.cs files appear nested under the .pdfx.

From code you use the report like any other class:

builder.Services.AddPdfReports();

app.MapGet("/invoices/{id}.pdf", async (int id, InvoiceReport report, AppDb db) =>
    Results.File(report.Generate(await db.Invoices.LoadAsync(id)), "application/pdf"));

Requirements

  • The XtudioPdf.AspNetCore (or XtudioPdf.Core) package in the project.
  • The .NET SDK (8 or later). The extension installs the xtudiopdf tool by itself the first time you open a .pdfx and keeps it up to date.

Language

The designer, the extension messages and the xtudiopdf tool use the language you pick in the designer (EN / ES, English by default). The VS Code menus follow the VS Code display language.

Settings

Setting What for
xtudiopdf.toolPath Path to xtudiopdf if it is not in PATH or in ~/.dotnet/tools.
xtudiopdf.buildBeforeOpen Builds the project before opening the designer (to see freshly changed DTOs).
xtudiopdf.reportsFolder Folder where documents are created from the command palette (default Reports).

Development

npm install
npm run compile
npm run package          # creates xtudiopdf-<version>.vsix
# Integration tests (downloads VS Code the first time):
XTUDIOPDF_TEST_WORKSPACE=/path/to/a/project npm test
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft