That would be cool, but there is no feature for that.
You could probably do it by: - Copying the selection into a bitmap - Ensuring the bitmap is monochrome - Filling any parts of the bitmap that touch the sides - Copying the bitmap to the selection mask:
I'm out of the office this week, so I cannot look at the code to confirm the difference. Perhaps your SelectionBitmap1 is not ie1g pixel format.
At any rate, CopyToTIEMask fills the entire mask, so it won't allow you to copy just a portion of the image. To do that use an intermediary TIEBitmap copy the portion to the whole "Selection Bitmap" and then assign the "selection bitmap" to the SelectionMask.