Bewerken

Delen via


Using IWiaItem::CreateChildItem to Create Selection Areas

WIA applications should read the WIA_IPS_SUPPORTS_CHILD_ITEM_CREATION property to determine whether the film scanning item supports creating of child items. The film scanner items can contain child items (that is, frames) in the item tree that cannot be deleted. The application can delete WIA items that are marked with the WIA_IPA_ACCESS_RIGHTS settings of (WIA_PROP_READ | WIA_ITEM_WRITE | WIA_ITEM_CAN_BE_DELETED).

Creating Dynamic Film Items

A WIA application calls IWiaItem::CreateChildItem (described in the Microsoft Windows SDK documentation) to create a new WIA application item (or frame) that is located under the film scanner item. The WIA driver should initialize the required WIA properties and the WIA application should set the extent settings and any other properties to configure the new frame. For more information about required WIA properties, see Required WIA Item Properties for Film Scanners.

Note   WIA film items must have only one level of WIA child items. The film item can be set to be a folder, but folder items cannot be created under the film scanner item.