IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
Width of the selected sub-region.
Only available when SubRegionFollowSource = "False". |
Name |
SubRegionWidth[SubRegionSelector] |
Category |
|
Interface |
Integer |
Access |
Read/Write |
Unit |
- |
Visibility |
Expert |
Values |
0 ... Width |
Standard |
IDS |
Availability uEye+ |
|
Availability uEye |
- |
Code example
C++
// Before accessing SubRegionWidth, make sure SubRegionSelector is set correctly
// Set SubRegionSelector to "AutoFeatureBrightnessAuto"
nodeMapRemoteDevice->FindNode<peak::core::nodes::EnumerationNode>("SubRegionSelector")->SetCurrentEntry("AutoFeatureBrightnessAuto");
// Determine the current SubRegionWidth
int64_t value = nodeMapRemoteDevice->FindNode<peak::core::nodes::IntegerNode>("SubRegionWidth")->Value();
C#
// Before accessing SubRegionWidth, make sure SubRegionSelector is set correctly
// Set SubRegionSelector to "AutoFeatureBrightnessAuto"
nodeMapRemoteDevice.FindNode<peak.core.nodes.EnumerationNode>("SubRegionSelector").SetCurrentEntry("AutoFeatureBrightnessAuto");
// Determine the current SubRegionWidth
long value = nodeMapRemoteDevice.FindNode<peak.core.nodes.IntegerNode>("SubRegionWidth").Value();
Python
# Before accessing SubRegionWidth, make sure SubRegionSelector is set correctly
# Set SubRegionSelector to "AutoFeatureBrightnessAuto" (str)
nodeMapRemoteDevice.FindNode("SubRegionSelector").SetCurrentEntry("AutoFeatureBrightnessAuto")
# Determine the current SubRegionWidth (int)
value = nodeMapRemoteDevice.FindNode("SubRegionWidth").Value()