RemoveBordersFromRegion
Removes from a region the pixels that lie very close to the region's frame.
Applications:Assures that the resulting region is not "touching" the borders.
Syntax
C++
C#
Python
def RemoveBordersFromRegion( inRegion: Region, inMarginX: int, inMarginY: int, outRegion: Region, / ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inMarginX | int | 0 - ![]() |
Horizontal margin from the region border | |
![]() |
inMarginY | int | 0 - ![]() |
Vertical margin from the region border | |
![]() |
outRegion | Region | Output region |



