Skip to main content

Interface: CVPrintAreaConfig

Defined in: types/src/product.ts:40

Print area configuration (API-level). Defines a print area's properties without FabricJS runtime concerns.

Properties

PropertyTypeDescriptionDefined in
id?stringUnique print area identifiertypes/src/product.ts:42
printingBoxPrintingBoxPrinting box dimensions in canvas pixelstypes/src/product.ts:44
output?PrintAreaOutput | nullPhysical output dimensions in millimeterstypes/src/product.ts:46
mask?PrintAreaMask | nullSVG mask configurationtypes/src/product.ts:48
printProfile?Partial<ChamevoPrintAreaOptions>Custom print profile options (scoped to PrintAreaScopeKey).types/src/product.ts:50
showIndicator?booleanShow selection indicator (checkmark icon)types/src/product.ts:52
showZoom?booleanShow zoom icontypes/src/product.ts:54
showRuler?booleanShow ruler icontypes/src/product.ts:56
showBoundingBox?booleanShow bounding box (dashed rectangle). Default: truetypes/src/product.ts:58
showBleedBox?booleanShow bleed box and crop marks. Default: truetypes/src/product.ts:60
color?stringColor for bounding box and icons (active state). Inactive state uses 90% opacity. Default: '#2196F3'types/src/product.ts:62
placeholder?stringPlaceholder image URL shown when print area has no user-added elementstypes/src/product.ts:64
exportOnly?booleanExport-only "view" print area. In the end-user frontend it shows its bounding box and bleed box and is non-interactive (still fully placeable in editorMode). On export it renders everything inside its printingBox — the interactive print areas placed within it plus shared backgrounds — as a single whole-view output, including its own bleed/crop marks (from output.bleed). Default: falsetypes/src/product.ts:73