XColor SetColor Function. Sets the color. ABCpdf .NET PDF Library. From ABCpdf .net previous page next page SetColor Function Sets the color. Syntax [C#]void SetColor(XColor color)[Visual Basic]Sub SetColor(color As XColor) Params Name Description color The source color. Notes This method copies the value from the parameter. Example None. previous page start next page