ImageGear23.Processing.Advanced Assembly > ImageGear.Processing.ImageClean Namespace > ImGearIC Class > InvertWhiteText Method : InvertWhiteText(ImGearPage,Int32,Int32,Int32,Int32,Int32,Int32) Method |
'Declaration Public Overloads Shared Sub InvertWhiteText( _ ByVal page As ImGearPage, _ ByVal minWidth As Integer, _ ByVal minHeight As Integer, _ ByVal minThickness As Integer, _ ByVal minLetterSize As Integer, _ ByVal maxLetterSize As Integer, _ ByVal maxBorderSize As Integer _ )
'Usage Dim page As ImGearPage Dim minWidth As Integer Dim minHeight As Integer Dim minThickness As Integer Dim minLetterSize As Integer Dim maxLetterSize As Integer Dim maxBorderSize As Integer ImGearIC.InvertWhiteText(page, minWidth, minHeight, minThickness, minLetterSize, maxLetterSize, maxBorderSize)
public static void InvertWhiteText( ImGearPage page, int minWidth, int minHeight, int minThickness, int minLetterSize, int maxLetterSize, int maxBorderSize )
public: static void InvertWhiteText( ImGearPage* page, int minWidth, int minHeight, int minThickness, int minLetterSize, int maxLetterSize, int maxBorderSize )
public: static void InvertWhiteText( ImGearPage^ page, int minWidth, int minHeight, int minThickness, int minLetterSize, int maxLetterSize, int maxBorderSize )
This method scans your entire image and makes adjustments to all areas of white text on black that fall within the scope of your settings.
// Invert sections of white text on black background in the image using
// a minimum height of 10, width of 30, thickness of 10,
// minimum letter size of 10, maximum letter size of 100, and a maximum
// border of 5.
ImGearIC.InvertWhiteText(igPage, 40, 100, 10, 10, 100, 5);
' Invert sections of white text on black background in the image using
' a minimum height of 10, width of 30, thickness of 10,
' minimum letter size of 10, maximum letter size of 100, and a maximum
' border of 5.
ImGearIC.InvertWhiteText(igPage, 40, 100, 10, 10, 100, 5)