Record($times, $interval)

スクリーンショットの記録を開始します。
$timesには回数、$intervalにはミリ秒単位で記録のインターバルを指定します。

文例:Initialize()の文例参照