Open Design

Render part of a design

☝️
If you want to learn more about fallback fonts and other best practices using Render, check out the tutorial.

Render allows you to generate a bitmap of either an entire artboard or a specific layer. You can use this output as a preview for your users, to simplify complex geometry, and more. For more info about Render, check out this page.

Render an entire artboard

To render an entire artboard, call the artboard.renderToFile() method on an artboard.

Here's an example:

Render a specific layer

To render a layer in an artboard, call the layer.renderToFile() method on a layer.

Here's an example: