SetAlphaLevel

The SetAlphaLevel method sets the Alpha blending level on the printed document.

 

Syntax

ActiveX:

System.Int32 SetAlphaLevel(System.Int32 hDC, System.Int32 lStrokeAlpha, System.Int32 lFillAlpha);

 

Parameters

hDC

Handle to printer device context returned by a call to CreateDC or by the application.

 

lStrokeAlpha

Alpha value for Stroke.

 

lFillAlpha

Alpha valie for fill.

 

Return Value

The return value is 1 is success, or 0 if the function fails.

 

Remarks

Member of CDIntfEx.CDIntfEx.