Sets or retrieves a pointer to the event handler function that is called when the HTMLWindowEvents::onafterprint event is raised.
HRESULT value = object.put_onafterprint(VARIANT v);HRESULT value = object.get_onafterprint(VARIANT* p);
the IDispatch interface of an object with a default method that is invoked when the event occurs.
This property provides a way to specify a function that can change a document's markup after taking a snapshot for printing. You may want to undo markups to a document that were made for printing such as re-expanding collapsed lists or making hidden elements.