# Aspose.Slides for Node.js via .NET

Use these instructions for this platform only. Read the project's existing instructions and dependency files first. Keep its current package version unless the task requires a change. Confirm API names against this platform's documentation; bindings are not interchangeable.

## Setup

Use `aspose.slides.via.net`. Follow the complete installation guide, including its supported Node.js version, .NET SDK, `edge-js` override, and NuGet dependency restore. Import with CommonJS `require`. Run from the project directory containing the package's native files. This binding uses camelCase members and indexed collection methods. Dispose each presentation. Consult the .NET API reference together with the Node.js binding examples.

## Install for a local test

From a new npm project using Node.js 22 or 24, apply the bridge override before installing the verified package:

```sh
npm pkg set overrides.edge-js=26.1.0
npm install aspose.slides.via.net@24.4.0
```

These pinned versions reproduce the example below. Preserve an existing project's dependency choices unless the user asks to change them.

Before running the example, complete the one-time .NET dependency restore in the [installation guide](https://docs.aspose.com/slides/nodejs-net/installation/#restore-the-net-dependencies). The npm install alone is not sufficient.

## Minimal example

After installation, run this standalone program as `starter.cjs` from your project folder. It creates `hello.pptx`. Use a scratch project so an existing file is not replaced.

```javascript
const slides = require("aspose.slides.via.net");

const presentation = new slides.Presentation();
try {
    const shape = presentation.slides.get(0).shapes.addAutoShape(
        slides.ShapeType.Rectangle, 50, 50, 500, 80
    );
    shape.addTextFrame("Hello, Aspose.Slides!");
    presentation.save("hello.pptx", slides.SaveFormat.Pptx);
} finally {
    presentation.dispose();
}
```

Verified on 2026-11-18: Windows x64, Node.js 22.23.5, aspose.slides.via.net 24.4.0, edge-js 26.1.0, .NET dependency restore from the installation guide. The program ran and the saved file contained one slide with the expected text. This evaluation-mode check does not prove licensed output or other operating systems.

## License

Evaluation mode is suitable for a local smoke test and can add watermarks or other limits. If the user supplies a valid license, follow the [licensing guide](https://docs.aspose.com/slides/nodejs-net/licensing/) before creating presentations. Read the license from a private local location accessible to the process. Never put license contents, keys, or personal paths in instructions, source control, or logs.

## Verify the change

Before expanding a change, create a small presentation, save it to a new file, and open the result. Check the requested content, slide count, and formatting. Build and run the exact code against the installed package; report any missing runtime or dependency instead of claiming it was tested.

Keep input files local unless the user permits sharing them. Write output to a new file and preserve the original. Report what ran, the versions used, and any checks that remain.

## Sources

- [Documentation](https://docs.aspose.com/slides/nodejs-net/)
- [API reference (.NET types)](https://reference.aspose.com/slides/net/)
- [Installation](https://docs.aspose.com/slides/nodejs-net/installation/)
- [Licensing](https://docs.aspose.com/slides/nodejs-net/licensing/)
