Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / SetBackgroundColor

SetBackgroundColor method

Sets the current background color.

Syntax

void SetBackgroundColor(nColor As Number, nOpacity As Number)

Parameters

ParameterTypeRequiredDescription
nColorNumberYesSpecifies the background color to use.
nOpacityNumberNoOptional parameter which specifies the background opacity to use (only available for transparent images).

Category

Properties

See also

GetBase64String | GetBitsPerPixelFromFile | GetFormatAsStringFromFile | GetFormatFromFile | GetFormatFromString | GetFramesFromFile | GetGUID | GetHasMultipleFramesFromFile | GetHeightFromFile | GetInfoFromFile | GetInfoFromURL | GetIsAnimatedFromFile | GetIsCMYKFromFile | GetIsSupportedFromFile | GetMegaPixelsFromFile | GetMIMEFromFile | GetMIMEFromFormat | GetWidthFromFile | SetFormat | SetFormatDefault | SetPixel | SetTransparency