Property MinTextArea
MinTextArea
Gets or sets the minimum foreground pixel count for a component to be considered "text" (a neighbor that protects nearby small components from removal).
public int MinTextArea { get; set; }
Property Value
- int
Minimum pixel area for a text component, or 0 for automatic.
Remarks
When set to 0 (the default), the value is twice MaxSpeckleArea (auto or explicit). This ensures that only genuinely larger components qualify as protective text neighbors, preventing two adjacent speckles from mutually protecting each other.