Sets the transparency.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void SetTransparency(
	float alpha
)
Public Sub SetTransparency ( 
	alpha As Single
)
public:
void SetTransparency(
	float alpha
)
member SetTransparency : 
        alpha : float32 -> unit 

Parameters

alpha
Single
The alpha value for both pen and brush operations.

See Also