Table of Contents

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 Image

The image to add.

mode ImageContentMode

The 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 is null.

ArgumentException

image belongs to a different Document.