Indicates whether stroke thickness values are specified in pixels or diagram units.
Namespace: MindFusion.Diagramming
Package: CompatConfig.js
JavaScript Copy Code |
---|
CompatConfig.pixelThickness = false; |
This is a static field. Set it to true to make StrokeThickness of DiagramItem and Style objects regardes as pixels instead of MeasureUnit values.
StrokeThickness was changed from pixels to MeasureUnit in version 3.5.1 of the library.
NetDiagram Programmer's Guide | © 2023 MindFusion |