ExcelWork.info

ポイント単位の値に変換(CentimetersToPoints,InchesToPoints)

CentimetersToPoints メソッド

センチメートル単位の値をポイント単位の値に変換します。戻り値は、倍精度浮動小数点型(Double)の値です。


【書式】

object.CentimetersToPoints ( centimeters )


引数・戻り値

  • object  ・・・  Application オブジェクト を指定します。
  • centimeters  ・・・  センチメートル単位の数値(倍精度浮動小数点型:Double)を指定します。省略不可。


InchesToPoints メソッド

インチ単位の値をポイント単位の値に変換します。戻り値は、倍精度浮動小数点型(Double)の値です。


【書式】

object.InchesToPoints ( inches )


引数・戻り値

  • object  ・・・  Application オブジェクト を指定します。
  • inches  ・・・  インチ単位の数値(倍精度浮動小数点型:Double)を指定します。省略不可。


CentimetersToPoints メソッド,InchesToPoints メソッド 使用例

サンプルVBAソース


実行結果