*UnitLength()

Determines the conversion factor from pixels to the given length units.

Syntax

*UnitLength (length)

Application

MediaView

Inputs

length
The length of the master measure in a given unit system.

Context

*MasterMeasure()

*Measure()

Example

*BeginVideo()
	• • •
	*Measure({VIDEO_FILE_VIDEO_1}, "Master Unit Measure")
		*UnitLength(500)
		…
	*EndVideoMeasure()
	• • •
*EndVideo

Comments

This is an attribute of a *MasterMeasure(). Together with the length of the measure in pixels, this determines the conversion factor from pixels to the given length units.