PdfCanvas
SetTransparency Method (Single, Single)
|
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
)
Public Sub SetTransparency (
alphaPen As Single,
alphaBrush As Single
)
public:
void SetTransparency(
float alphaPen,
float alphaBrush
)
member SetTransparency :
alphaPen : float32 *
alphaBrush : float32 -> unit
Parameters
-
alphaPen
-
Type:
System
Single
The alpha value for pen operations.
-
alphaBrush
-
Type:
System
Single
The alpha value for brush operations.
See Also