LayoutContainer.Image Method

Adds the image.

Namespace:  BitMiracle.Docotic.Pdf.Layout
Assembly:  BitMiracle.Docotic.Pdf.Layout (in BitMiracle.Docotic.Pdf.Layout.dll)

Syntax

C#
public void Image(
	Image image,
	ImageContentMode mode = ImageContentMode.FitArea
)
VB
Public Sub Image ( 
	image As Image,
	Optional mode As ImageContentMode = ImageContentMode.FitArea
)

Parameters

image
Type: BitMiracle.Docotic.Pdf.Layout.Image
The image to add.
mode (Optional)
Type: BitMiracle.Docotic.Pdf.Layout.ImageContentMode
The image drawing mode.

Exceptions

ExceptionCondition
ArgumentNullExceptionimage is null.
ArgumentExceptionimage belongs to a different Document.

Remarks

Use Image() methods to register fonts.

See Also