Option Explicit Private SavedStrokes() As Byte Private Sub CommandButton1_Click() '現在のストロークをバイナリとして保持 SavedStrokes = InkPicture1.Ink.Save() End Sub Private Sub CommandButton2_Click() '保持しておいたストロークを復元 Dim newInk As InkDisp Set newInk = New InkDisp newInk.Load SavedStrokes InkPicture1.InkEnabled = False Set InkPicture1.Ink = newInk InkPicture1.InkEnabled = True End Sub