---
title: "PdfActionMode Module"
canonical: https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.pdfactionmode.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["4.4.25", "4.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# PdfActionMode Module

**Applies to:** Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · **Archived documentation**
 
PDF upload modes.
 
## Type aliases
 
### PdfActionModeType
 
PdfActionModeType: "Shape"  |  "Vector"
 
## Variables
 
### Const Shape
 
Shape: [PdfActionModeType](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.pdfactionmode.htm.md)

In this mode, an SVG file opens as a combination of shapes in one color and width. This mode omits raster images. To check if losses occur, you can use the [shapeViolationsEnabled](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.iviolationwarningssettingsconfig.htm.md) warning.
 
### Const Vector
 
Vector: [PdfActionModeType](https://customerscanvas.com/docs/cc4/customerscanvas.iframeapi.configuration.pdfactionmode.htm.md)

In this mode, an SVG file opens as a vector image.
