ImageGear .NET v24.12 - Updated
Fill Method




ImageGear24.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class : Fill Method
Image to fill.
The fill color. It should be specified by RGB format. The method will convert it to destination pixel value according to the actual color space and bit depth of the page.
Fills the image by specified solid color.
Syntax
'Declaration
 
Public Shared Sub Fill( _
   ByVal page As ImGearRasterPage, _
   ByVal fillColor As IImGearRGBQuad _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim fillColor As IImGearRGBQuad
 
ImGearRasterProcessing.Fill(page, fillColor)
public static void Fill( 
   ImGearRasterPage page,
   IImGearRGBQuad fillColor
)
public: static void Fill( 
   ImGearRasterPage* page,
   IImGearRGBQuad* fillColor
) 
public:
static void Fill( 
   ImGearRasterPage^ page,
   IImGearRGBQuad^ fillColor
) 

Parameters

page
Image to fill.
fillColor
The fill color. It should be specified by RGB format. The method will convert it to destination pixel value according to the actual color space and bit depth of the page.
Remarks
If the page has ROI initialized (rectangular or non-rectangular), will be filled corresponding ROI region only.
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
ImGearColorSpace Structure