Method Image
- Namespace
- BitMiracle.Docotic.Pdf.Layout
- Assembly
- BitMiracle.Docotic.Pdf.Layout.dll
Image(Image, ImageContentMode)
Adds the image.
public void Image(Image image, ImageContentMode mode = ImageContentMode.FitArea)
Parameters
image
ImageThe image to add.
mode
ImageContentModeThe image drawing mode.
Remarks
Use Image methods to add images to document.
Read the Image section of the Containers and their content article for examples of using this method.
Exceptions
- ArgumentNullException
image
isnull
.- ArgumentException
image
belongs to a different Document.