Spread Windows Forms 18
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / IPictureFormat Interface / Recolor Method
The color to be used for recoloring.
true if all parts of the original picture that were black in color should be left black; otherwise, false.


In This Topic
    Recolor Method
    In This Topic
    Changes the color of a picture in a publication.
    Syntax
    'Declaration
     
    
    Sub Recolor( _
       ByVal color As SchemeColor, _
       ByVal leaveBlackPartsBlack As Boolean _
    ) 
    'Usage
     
    
    Dim instance As IPictureFormat
    Dim color As SchemeColor
    Dim leaveBlackPartsBlack As Boolean
     
    instance.Recolor(color, leaveBlackPartsBlack)

    Parameters

    color
    The color to be used for recoloring.
    leaveBlackPartsBlack
    true if all parts of the original picture that were black in color should be left black; otherwise, false.
    See Also