Millimetre to Pixel
17239
Question / Problem:
What is the conversion for millimetre (millimeter) to pixel?
Answer / Solution:
Below is a function that will convert millimetre to pixel:
Private Function MMToPixel(DocumentResolution As Double, MM As Double) As Double MMToPixel = MM / 25.4 * DocumentResolution End Function
Applies to:
Product | Version | Category |
---|---|---|
KTM | 6.3 | Scripting |
KTM | 6.2 | Scripting |