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
imageImageThe image to add.
modeImageContentModeThe 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
imageisnull.- ArgumentException
imagebelongs to a different Document.