[]
Creates and returns a GcBitmap object representing the current PdfImageBase object.
IMPORTANT NOTE: the returned bitmap must be disposed after use.
An image in a PDF can be specified as an "image mask" (see ImageMask),
in which case the image data is used as a stencil mask for painting in the current color
specified by currentUnmaskedColor
,
maskedColor
specifies the color of the area excluded from filling
(it is transparent in most cases).
public GcBitmap GetNativeImage(Color currentUnmaskedColor, Color maskedColor)
Public Function GetNativeImage(currentUnmaskedColor As Color, maskedColor As Color) As GcBitmap
Type | Name | Description |
---|---|---|
Color | currentUnmaskedColor | The current color used to fill the unmasked area. |
Color | maskedColor | The color of the area that is excluded from filling (typically transparent). |