PdfCanvas
SetTransparency Method (Single, Single, PdfBlendMode)
|
Sets the transparency.
Namespace:
Spire.Pdf.Graphics
Assembly:
Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public void SetTransparency(
float alphaPen,
float alphaBrush,
PdfBlendMode blendMode
)
Public Sub SetTransparency (
alphaPen As Single,
alphaBrush As Single,
blendMode As PdfBlendMode
)
public:
void SetTransparency(
float alphaPen,
float alphaBrush,
PdfBlendMode blendMode
)
member SetTransparency :
alphaPen : float32 *
alphaBrush : float32 *
blendMode : PdfBlendMode -> unit
Parameters
-
alphaPen
-
Type:
System
Single
The alpha value for pen operations.
-
alphaBrush
-
Type:
System
Single
The alpha value for brush operations.
-
blendMode
-
Type:
Spire.Pdf.Graphics
PdfBlendMode
The blend mode.
See Also