IIXC_Page::IsGrayScale Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 5: | Line 5: | ||
{{ToReview}} | {{ToReview}} | ||
− | The method | + | The method determines if the image page is grayscale. A page is considered grayscale if RGB components are the same within each color value. |
== Syntax == | == Syntax == | ||
Line 12: | Line 12: | ||
== Parameters == | == Parameters == | ||
;pGray | ;pGray | ||
− | :[out, retval] | + | :[out, retval] Specifies the pointer to the value of VARIANT_BOOL type which receives the result. |
== Return Value == | == Return Value == | ||
Returns S_OK if operation was successful or error code in other cases. | 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 == | == See Also == | ||
− | + | :[[PXV:IIXC_Page|IIXC_Page]]. |
Revision as of 05:35, 30 April 2015
The 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 the value of VARIANT_BOOL type 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.