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