PsDocument.DrawTransparentImage

PsDocument.DrawTransparentImage method

Draw transformed transparent image. If image doesn’t have Alpha channel it will be drawn as opaque image

public void DrawTransparentImage(Bitmap image, Matrix transform, int transparencyThreshold)
ParameterTypeDescription
imageBitmapThe image to draw.
transformMatrixThe matrix to transform image.
transparencyThresholdInt32A threshold that defines from which value of transparency pixel will be interpreted as fully transparent. All values below this threshold will be interpreted as fully opaque.

See Also