Analyze a page for color usage.
checkPageColorUsage([in] int page, [out, retval] int *color)
The checkPageColorUsage function analyzes the specified page in the PDF file, and returns one of the following values:
color = pdf.checkPageColorUsage(page) If color = 1 Then ' monochrome ElseIf color = 2 Then ' grayscale ElseIf color = 3 Then ' color Else ' error End If