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