Creates image(s) with the data and properties read from the file with
specified name, applies specified mask color to them and adds resulting
image(s) to the end of the collection of document images.
Namespace:
BitMiracle.Docotic.Pdf
Assembly:
BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)
Syntax
C#
public PdfImage AddImage(
string fileName,
PdfColor maskColor
)
VB
Public Function AddImage (
fileName As String,
maskColor As PdfColor
) As PdfImage
Parameters
- fileName
- Type: System.String
Name of the file from which to create
PdfImage(s). - maskColor
- Type: BitMiracle.Docotic.Pdf.PdfColor
The color that masks transparent
areas of the image.
Return Value
Type:
PdfImageThe
PdfImage for the first frame (page) read from
the file with specified name.
Remarks
This method adds a new image for each frame (page) read
from the file with specified name. Mask color gets applied for
all added images.
See Also