55件ヒット
[1-55件を表示]
(0.104秒)
ライブラリ
- win32ole (55)
クラス
- WIN32OLE (55)
キーワード
-
_ getproperty (11) -
_ setproperty (11) -
ole
_ get _ methods (11) - setproperty (22)
検索結果
先頭5件
-
WIN32OLE
# _ getproperty(dispid , args , types) -> object (6101.0) -
DISPIDとパラメータの型を指定してオブジェクトのプロパティを参照します。
....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_BSTR])
puts sheet._getproperty(DISPID_CELLS, [1, 2], [VT_I2, VT... -
WIN32OLE
# _ setproperty(dispid , args , types) -> () (6101.0) -
DISPIDとパラメータの型を指定してオブジェクトのプロパティを設定します。
...s excel._setproperty(558, # VisibleプロパティのDISPIDは558
[true], [VT_BOOL])
workbook = excel.Workbooks.Add
sheet = workbook.Worksheets[1]
sheet._setproperty(DISPID_CELLS, [1, 2, 'hello'], [VT_I2, VT_I2, VT_BSTR])
puts sheet._getproperty(DISPID_CELL... -
WIN32OLE
# setproperty(name , args . . . , val) -> () (6101.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, s... -
WIN32OLE
# setproperty(name , val) -> () (6101.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, s... -
WIN32OLE
# ole _ get _ methods -> [WIN32OLE _ METHOD] (7.0) -
オブジェクトの参照可能プロパティ情報をWIN32OLE_METHODの配列として 返します。
...ion')
excel.ole_get_methods.each do |prop|
begin
puts "#{prop.name}=#{excel._getproperty(prop.dispid, [], [])}"
rescue WIN32OLERuntimeError
puts "can't read #{prop.name} property"
end
end
@see WIN32OLE#ole_methods, WIN32OLE#ole_func_methods,
WIN32OLE#ole_put_...