Contact us

Applies to: Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

Skip to main content

ViewerConfiguration

Classes​

ViewerConfiguration​

Implements​

Constructors​

Constructor​
new ViewerConfiguration(conf): ViewerConfiguration;
Parameters​
ParameterType
confIViewerConfiguration
Returns​

ViewerConfiguration

Properties​

alignToSafetyLineName​
alignToSafetyLineName: string;
Implementation of​

IViewerConfiguration.alignToSafetyLineName

apiClientConfiguration​
apiClientConfiguration: IApiClientConfiguration;
Implementation of​

IViewerConfiguration.apiClientConfiguration

clipByPrintAreas​
clipByPrintAreas: boolean = true;

Clips design items by the print areas of the surface (shape expanded by bleed and slug). When false, design items are clipped by the surface bounds. Mockups and markings are never clipped.

Default​
true
Implementation of​

IViewerConfiguration.clipByPrintAreas

curvedTextBaselineDrawStates?​
optional curvedTextBaselineDrawStates?: ItemHandlerState[];
Implementation of​

IViewerConfiguration.curvedTextBaselineDrawStates

disableCustomScrollbarStyle​
disableCustomScrollbarStyle: boolean;
Implementation of​

IViewerConfiguration.disableCustomScrollbarStyle

floatingToolbar​
floatingToolbar: IFloatingItemToolbarConfig;
Implementation of​

IViewerConfiguration.floatingToolbar

grid​
grid: GridConfig;
Implementation of​

IViewerConfiguration.grid

handlers​
handlers: IHandlersConfiguration;
Implementation of​

IViewerConfiguration.handlers

historySize​
historySize: number;
Implementation of​

IViewerConfiguration.historySize

imageResizeRequestConfig?​
optional imageResizeRequestConfig?: ImageResizeRequestConfig;
Implementation of​

IViewerConfiguration.imageResizeRequestConfig

inactiveContainerTransparencyEnabled​
inactiveContainerTransparencyEnabled: boolean = true;
Implementation of​

IViewerConfiguration.inactiveContainerTransparencyEnabled

inactiveContainerTransparencyLevel​
inactiveContainerTransparencyLevel: number = 0.8;
Implementation of​

IViewerConfiguration.inactiveContainerTransparencyLevel

listSettings​
listSettings: IListConfiguration;
Implementation of​

IViewerConfiguration.listSettings

messages​
messages: IViewerMessagesConfig;
Implementation of​

IViewerConfiguration.messages

mockupMarginWorkaroundEnabled​
mockupMarginWorkaroundEnabled: boolean;
Implementation of​

IViewerConfiguration.mockupMarginWorkaroundEnabled

printZone​
printZone: IPrintZoneConfiguration;
Implementation of​

IViewerConfiguration.printZone

productThemes​
productThemes: object;
Index Signature​
[name: string]: IProductThemeConfig
Implementation of​

IViewerConfiguration.productThemes

renderingConfig?​
optional renderingConfig?: IRenderingConfig;
Implementation of​

IViewerConfiguration.renderingConfig

rotatedTextInPlaceEditEnabled?​
optional rotatedTextInPlaceEditEnabled?: boolean;
Implementation of​

IViewerConfiguration.rotatedTextInPlaceEditEnabled

rulers​
rulers: IRulersConfig;
scrollbarEnabled?​
optional scrollbarEnabled?: boolean;
snapLines​
snapLines: ISnapLinesConfiguration;
Implementation of​

IViewerConfiguration.snapLines

stubImages​
stubImages: StubImagesConfig;
Implementation of​

IViewerConfiguration.stubImages

style​
style: ICanvasStyle;
Implementation of​

IViewerConfiguration.style

surfaceShadowEnabled​
surfaceShadowEnabled: boolean;
Implementation of​

IViewerConfiguration.surfaceShadowEnabled

text​
text: ITextParams;
Implementation of​

IViewerConfiguration.text

textEditor​
textEditor: TextEditorMode;
Implementation of​

IViewerConfiguration.textEditor

variableItemsMaskSymbol​
variableItemsMaskSymbol: string;
Implementation of​

IViewerConfiguration.variableItemsMaskSymbol

violationService​
violationService: IViolationServiceConfiguration;
Implementation of​

IViewerConfiguration.violationService

zoom​
zoom: IRangeParams;
Was this page helpful?