---
title: "PdfActionMode Module"
canonical: https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.pdfactionmode.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["6.15.0", "6.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 6.15.0, 6.x (may differ) · **Archived documentation**
 
PDF upload modes.
  
You can use this parameter when define the [IAssetSourceConfig](https://customerscanvas.com/docs/cc6/customerscanvas.baseeditor.configuration.ui.iassetsources.iassetsourceconfig.htm.md).
 
## Type aliases
 
### PdfActionModeType
 
PdfActionModeType: "Shape"  |  "Vector"  |  "Group"
 
## Variables
 
### Const Group
 
Group: [PdfActionModeType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.pdfactionmode.htm.md)

In this mode, a PDF file opens as a set of shapes and appears on the canvas as a group element.
 
### Const Shape
 
Shape: [PdfActionModeType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.pdfactionmode.htm.md)

In this mode, a PDF file opens as a combination of shapes in one color and width. This mode eliminates raster images. To check if losses occur, you can use the [shapeViolationsEnabled](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.iviolationwarningssettingsconfig.htm.md) warning.
 
### Const Vector
 
Vector: [PdfActionModeType](https://customerscanvas.com/docs/cc6/customerscanvas.iframeapi.configuration.pdfactionmode.htm.md)

In this mode, a PDF file opens as a vector image.
