IUIX_RenderContext::DrawLine Method

From PDF XChange PDF SDK
Jump to: navigation, search
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*    Start,
+
<pre class="brush:cpp;gutter:false">HRESULT DrawLine([in]                    POINT*    stStart,
                 [in]                    POINT*    Stop,
+
                 [in]                    POINT*    stStop,
                 [in]                    IUIX_Pen*  Pen,
+
                 [in]                    IUIX_Pen*  pPen,
                 [in]                    RECT*      ClipRect,
+
                 [in]                    RECT*      stClipRect,
                 [in, defaultvalue(1.0)]  double    Opacity);</pre>
+
                 [in, defaultvalue(1.0)]  double    nOpacity);</pre>
  
 
== Parameters ==
 
== Parameters ==
;Start
+
;stStart
 
:[in]  Pointer to POINT.
 
:[in]  Pointer to POINT.
;Stop
+
;stStop
 
:[in]  Pointer to POINT.
 
:[in]  Pointer to POINT.
;Pen
+
;pPen
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
 
:[in]  Pointer to [[PXV:IUIX_Pen|IUIX_Pen]].
;ClipRect
+
;stClipRect
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;Opacity
+
;nOpacity
 
:[in, defaultvalue(1.0)]  Value of double.
 
:[in, defaultvalue(1.0)]  Value of double.
  

Latest revision as of 03:37, 15 June 2015


The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT DrawLine([in]                     POINT*     stStart,
                 [in]                     POINT*     stStop,
                 [in]                     IUIX_Pen*  pPen,
                 [in]                     RECT*      stClipRect,
                 [in, defaultvalue(1.0)]  double     nOpacity);

Parameters

stStart
[in] Pointer to POINT.
stStop
[in] Pointer to POINT.
pPen
[in] Pointer to IUIX_Pen.
stClipRect
[in] Pointer to RECT.
nOpacity
[in, defaultvalue(1.0)] Value of double.

Return Value

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

See Also

IUIX_RenderContext