NetDiagram Programmer's Guide
CompatConfig.pixelThickness Field
See Also

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.

 See Also

CompatConfig Members
CompatConfig Class
MindFusion.Diagramming Namespace