Posted - Nov 15 2024 : 14:52:17 I was able to get this to work using:
v_ColorPercent := v_ImageView.Proc.GetDominantColor(v_RGB);
if v_ColorPercent > 99.9 then
// Blank Page
All blank pages had a percentage > 99.9.
I posted the question because I found relevant messages and help content unclear on exactly how to use GetDominantColor. I needed to include the following to get it to work:
uses
hyiedefs;
var
v_ColorPercent: Double;
v_RGB: TRGB;