- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- APIs
- IFrame API
- Web API
- Design Atoms Framework
- What's New?
- Design Atoms Framework Overview
- Creating Applications with Design Atoms Framework
- Working with the Object Model
- Groups of Design Elements
- Using Dependency Injection
- Loading Templates
- Saving Products
- Rendering Products
- Reference
- Aurigma.DesignAtoms.Common Namespace
- Aurigma.DesignAtoms.Common.Math Namespace
- Aurigma.DesignAtoms.Configuration Namespace
- Aurigma.DesignAtoms.Configuration.RenderingConfig Namespace
- Aurigma.DesignAtoms.Convert Namespace
- Aurigma.DesignAtoms.Licensing Namespace
- Aurigma.DesignAtoms.Model Namespace
- Aurigma.DesignAtoms.Model.CustomData Namespace
- Aurigma.DesignAtoms.Model.Items Namespace
- Aurigma.DesignAtoms.Rendering Namespace
- Aurigma.DesignAtoms.Serialization Namespace
- Aurigma.DesignAtoms.Serialization.Json.Product Namespace
- UI Framework
- Dynamic Image API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.
Render Method (, Single, , , Boolean, WorkspaceTransformParams, Nullable(RectangleF))
Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation
Renders the canvas to a Bitmap.
Namespace:
Aurigma.DesignAtoms.Rendering
Assembly:
Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
Syntax
C#
public virtual Bitmap Render(
ICanvas canvas,
float dpi,
ColorSpace colorSpace,
Color backgroundColor,
bool isPreview,
WorkspaceTransformParams workspaceTransformParams,
Nullable<RectangleF> cropArea
)
Parameters
- canvas
-
Type: ICanvas
A canvas to render.
- dpi
-
Type: System.Single
The resulting image resolution.
- colorSpace
-
Type: ColorSpace
The resulting ColorSpace.
- backgroundColor
-
Type: Color
The resulting background Color.
- isPreview
-
Type: System.Boolean
Defines whether the resulting image is a low resolution preview.
- workspaceTransformParams
-
Type: Aurigma.DesignAtoms.Rendering.WorkspaceTransformParams
Defines whether the resulting image should be flipped, rotated, or rendered as is.
- cropArea
-
Type: System.Nullable<RectangleF>
A rectangle defining the region to be printed.