IIXC_Page::IsGrayScale Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#parentPage:PXV:IIXC_Page|IsGrayScale Method|method}}
 
{{#parentPage:PXV:IIXC_Page|IsGrayScale Method|method}}
  
{{ToReview}}
 
  
 
The '''IsGrayScale''' method determines if the image page is grayscale. A page is considered grayscale if RGB components are the same within each color value.
 
The '''IsGrayScale''' method determines if the image page is grayscale. A page is considered grayscale if RGB components are the same within each color value.

Revision as of 11:28, 18 May 2015


The IsGrayScale method determines if the image page is grayscale. A page is considered grayscale if RGB components are the same within each color value.

Syntax

HRESULT IsGrayScale([out, retval]  VARIANT_BOOL*  pGray);

Parameters

pGray
[out, retval] Specifies the pointer to a VARIANT_BOOL type variable which receives the result.

Return Value

Returns S_OK if operation was successful or error code in other cases.

Remarks

IIXC_Page::IsGrayScale may be applied to any image of any type.

See Also

IIXC_Page
IIXC_Page::ToGrayScale