■プログラム説明(ソースコード説明)
			 単位を取得するにはpreferences.rulerUnitsプロパティの値を読み出します。
			
			■ソースコード
			unt = preferences.rulerUnits;
			alert(unt);
			
			■ポイント
			 返される単位は以下のものになります。
			
			Units.CM
			Units.INCHES
			Units.MM
			Units.PERCENT
			Units.PICAS
			Units.PIXELS
			Units.POINTS
			
		
■実際のスクリプトをダウンロード(sample.js.zip)