Sets device capability.
Visual Basic |
---|
Public Function Device_Cap_Set() As Boolean |
Before executing this method set:
1. Capability identifier (Device_Cap_Id property)
2. Capability value container type (Device_Cap_ValueContainerType property)
3. Capability value type (Device_Cap_ValueType property)
3. Properties necessary for capability value container:
Value container type | Capabilities |
---|---|
One value | Device_Cap_Value if value is numeric value; Device_Cap_StringValue if value is string value; Device_Cap_FrameValue if value is frame value |
Array | Device_Cap_Items if values are numeric values; Device_Cap_StringItems if value is string value; Device_Cap_FrameItems if value is frame value |
Enum | Device_Cap_Items if values are numeric values; Device_Cap_StringItems if value is string value; Device_Cap_FrameItems if value is frame value |
Range | Device_Cap_Value if value is numeric value |