Size conventions

FactoryTalk Optix Studio
provides size conventions for graphic objects, font, and pixel to point conversions.

Graphic object size conventions

At design time, the size of graphic objects is depicted in Device-Independent Pixels (DIP). Text sizes are depicted in points.
At runtime, the size of objects may vary depending on the scaling factor of the operating system.
FactoryTalk Optix Studio
supports the Windows scaling factor. An object with a width set to 100 pixels at design time will be 125 pixels at runtime on a system with a 125% scaling factor.

Font size conventions

FactoryTalk Optix Studio
supports fonts in .TTF or .OTF format.
FactoryTalk Optix Studio
uses the font convention used by Microsoft for Windows Presentation Foundation (WPF). One point corresponds to 1/72 inches and one inch equals 96 pixels.

Conversion between pixels and points

To convert points to pixels, use the formula pixel
(DIP) = points * 0.75
.
TIP: 12 points = 12/72 inches = 1/6 inches = 96/6 pixels (DIP) = 16 pixels (DIP)
To convert pixels to points, use the formula
pixel (DIP)/0.75
.
TIP: On a system with a 125 scaling factor, a 12 point font in design is 20 pixels at runtime
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.