IPXC_Document::CreateLinearShade Method
From PDF XChange PDF SDK
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT CreateLinearShade([in] PXC_Point* pPnt1, [in] PXC_Point* pPnt2, [in] IPXC_GradientStops* pStops, [in] ULONG nExtend, [out, retval] IPXC_Shading** ppShade);
Parameters
- pPnt1
- [in] Pointer to PXC_Point.
- pPnt2
- [in] Pointer to PXC_Point.
- pStops
- [in] Pointer to IPXC_GradientStops.
- nExtend
- [in] Value of ULONG.
- ppShade
- [out, retval] Pointer to IPXC_Shading.
Return Value
Returns S_OK if operation was successful or error code in other cases.