IColor::IsEqual Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IColor::IsEqual Method}} | {{#customTitle:IColor::IsEqual Method}} | ||
− | {{#parentPage:PXV:IColor#Methods|IsEqual | + | {{#parentPage:PXV:IColor#Methods|IsEqual|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Compares two color values. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT IsEqual([in] IColor* pColor, | <pre class="brush:cpp;gutter:false">HRESULT IsEqual([in] IColor* pColor, | ||
− | [out, retval] VARIANT_BOOL* | + | [out, retval] VARIANT_BOOL* bIsEqual);</pre> |
== Parameters == | == Parameters == | ||
;pColor | ;pColor | ||
− | :[in] Pointer to [[PXV:IColor|IColor]]. | + | :[in] Pointer to [[PXV:IColor|IColor]] containing the compared color. |
− | ; | + | ;bIsEqual |
− | :[out, retval] Pointer to VARIANT_BOOL. | + | :[out, retval] Pointer to VARIANT_BOOL containing whether the colors are equal. |
== Return Value == | == Return Value == |
Latest revision as of 02:13, 16 March 2017
Compares two color values.
Syntax
HRESULT IsEqual([in] IColor* pColor, [out, retval] VARIANT_BOOL* bIsEqual);
Parameters
- pColor
- [in] Pointer to IColor containing the compared color.
- bIsEqual
- [out, retval] Pointer to VARIANT_BOOL containing whether the colors are equal.
Return Value
Returns S_OK if operation was successful or error code in other cases.