 | PdfPageObjectSetOpacity Method |
Sets the opacity level of the page object.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic void SetOpacity(
float opacity,
bool isStroke
)
Public Sub SetOpacity (
opacity As Single,
isStroke As Boolean
)
public:
void SetOpacity(
float opacity,
bool isStroke
)
member SetOpacity :
opacity : float32 *
isStroke : bool -> unit public void SetOpacity(
float opacity,
boolean isStroke
)
function SetOpacity(opacity, isStroke);
Parameters
- opacity Single
- The level of opacity for the page object. 0 - transparent; 1 - opaque.
- isStroke Boolean
- Flag indicating whether to set opacity for the stroke or for the fill color.
See Also