IUIX_RenderContext::DrawLine Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 9: | Line 9: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT DrawLine([in] POINT* | + | <pre class="brush:cpp;gutter:false">HRESULT DrawLine([in] POINT* Start, |
− | [in] POINT* | + | [in] POINT* Stop, |
− | [in] IUIX_Pen* | + | [in] IUIX_Pen* Pen, |
− | [in] RECT* | + | [in] RECT* ClipRect, |
− | [in, defaultvalue(1.0)] double | + | [in, defaultvalue(1.0)] double Opacity);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;Start |
:[in] Pointer to POINT. | :[in] Pointer to POINT. | ||
− | ; | + | ;Stop |
:[in] Pointer to POINT. | :[in] Pointer to POINT. | ||
− | ; | + | ;Pen |
:[in] Pointer to [[PXV:IUIX_Pen|IUIX_Pen]]. | :[in] Pointer to [[PXV:IUIX_Pen|IUIX_Pen]]. | ||
− | ; | + | ;ClipRect |
:[in] Pointer to RECT. | :[in] Pointer to RECT. | ||
− | ; | + | ;Opacity |
:[in, defaultvalue(1.0)] Value of double. | :[in, defaultvalue(1.0)] Value of double. | ||
Revision as of 06:57, 12 June 2015
The method of interface of PDF-XChange Editor SDK.
Syntax
HRESULT DrawLine([in] POINT* Start, [in] POINT* Stop, [in] IUIX_Pen* Pen, [in] RECT* ClipRect, [in, defaultvalue(1.0)] double Opacity);
Parameters
- Start
- [in] Pointer to POINT.
- Stop
- [in] Pointer to POINT.
- Pen
- [in] Pointer to IUIX_Pen.
- ClipRect
- [in] Pointer to RECT.
- Opacity
- [in, defaultvalue(1.0)] Value of double.
Return Value
Returns S_OK if operation was successful or error code in other cases.