ImageGear v26.3 - Updated
ImageGear.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.




In This Topic
    Fill Method
    In This Topic
    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