Rasterex APINPM Package/docs/capabilities/styles/overview

Overview

Control the visual appearance of annotations and drawings on the canvas via the Viewer SDK.

Introduction

Styles allow your application to customize the visual appearance of annotations, shapes, and measurements on the canvas. Set global defaults for stroke colors, fill colors, line widths, and transparency to maintain consistent branding across your documents.

Whether you need to match corporate color schemes or differentiate between user roles, the styling system gives you complete programmatic control over the canvas appearance via the Viewer instance.

The styling system provides comprehensive control over visual properties.