44件ヒット
[1-44件を表示]
(0.063秒)
検索結果
先頭4件
-
WIN32OLE
# setproperty(name , args . . . , val) -> () (18132.0) -
オブジェクトのプロパティを設定します。
...のようにsetpropertyメソッドを利用して、パラメータ付きプ
ロパティを設定します。
excel = WIN32OLE.new('Excel.Application')
excel.visible = true
sheet = excel.Workbooks.Add.Worksheets[1]
sheet.setproperty(:Cells, 1, 2, 32)
sheet.setproperty(:Cells, 1, 1... -
WIN32OLE
# setproperty(name , val) -> () (18132.0) -
オブジェクトのプロパティを設定します。
...のようにsetpropertyメソッドを利用して、パラメータ付きプ
ロパティを設定します。
excel = WIN32OLE.new('Excel.Application')
excel.visible = true
sheet = excel.Workbooks.Add.Worksheets[1]
sheet.setproperty(:Cells, 1, 2, 32)
sheet.setproperty(:Cells, 1, 1... -
WIN32OLE
# _ setproperty(dispid , args , types) -> () (6125.0) -
DISPIDとパラメータの型を指定してオブジェクトのプロパティを設定します。
...LE::VARIANT
excel = WIN32OLE.new('Excel.Application')
puts excel._setproperty(558, # VisibleプロパティのDISPIDは558
[true], [VT_BOOL])
workbook = excel.Workbooks.Add
sheet = workbook.Worksheets[1]
sheet._setproperty(DISPID_CELLS, [1, 2, 'hello'],... -
WIN32OLE
# _ getproperty(dispid , args , types) -> object (18.0) -
DISPIDとパラメータの型を指定してオブジェクトのプロパティを参照します。
...238
include WIN32OLE::VARIANT
excel = WIN32OLE.new('Excel.Application')
puts excel._getproperty(558, [], []) # VisibleプロパティのDISPIDは558
workbook = excel.Workbooks.Add
sheet = workbook.Worksheets[1]
sheet._setproperty(DISPID_CELLS, [1, 2, 'hello'], [VT_I2, VT_I2, VT_BST...