PdfMetafile
SetTransparency Method
|
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,
bool transparency
)
Public Sub SetTransparency (
alphaPen As Single,
alphaBrush As Single,
blendMode As PdfBlendMode,
transparency As Boolean
)
public:
void SetTransparency(
float alphaPen,
float alphaBrush,
PdfBlendMode blendMode,
bool transparency
)
member SetTransparency :
alphaPen : float32 *
alphaBrush : float32 *
blendMode : PdfBlendMode *
transparency : bool -> 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.
-
transparency
-
Type:
System
Boolean
Transparency is applied or not.
See Also