Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What kind of color value do I need to use as a parameter with the drawing methods RGB or ARGB [for ActiveX editions only]?

0
10 Posted

What kind of color value do I need to use as a parameter with the drawing methods RGB or ARGB [for ActiveX editions only]?

0
10

GdPicture components work only with the long ARGB color value. This is available for 1bpp, 4pbb, 16bpp, 24bpp, 32bpp… bitmaps. To get a long ARGB color value, you can use the ARGB() method. The ARGB() method returns an ARGB long color value by using specified values for the alpha, red, green, and blue components. Ex: -To get the red color value: nRedValue = object.ARGB(255, 255, 0, 0) -To get the semi-transparent blue color value: nSemiTransparentBlueValue = object.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123