Sets the transparency.
Namespace: Spire.Pdf.GraphicsAssembly: Spire.Pdf (in Spire.Pdf.dll) Version: 7.9.2.0 (7.9.2.1020)
Syntax
| C# | Visual Basic | Visual C++ | F# |
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
- Single
The alpha value for pen operations.
- alphaBrush
- Single
The alpha value for brush operations.
- blendMode
- PdfBlendMode
The blend mode.