[]
        
(Showing Draft Content)

C1.Word.C1WordDocument.AddPicture

AddPicture Method

AddPicture(Image)

Add (draw) image/bitmap with content alignment.

Declaration
public RtfPicture AddPicture(Image image)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(Image, RtfHorizontalAlignment)

Add (draw) image/bitmap with content alignment.

Declaration
public RtfPicture AddPicture(Image image, RtfHorizontalAlignment align)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

RtfHorizontalAlignment align

The paragraph alignment.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(Image, ShapeWrapType, ZIndexType)

Add image/bitmap with shape wrap and z-index.

Declaration
public RtfShape AddPicture(Image image, ShapeWrapType wrap, ZIndexType zIndex = ZIndexType.Default)
Parameters
Type Name Description
Image image

The drawing image/bitmap.

ShapeWrapType wrap
ZIndexType zIndex
Returns
Type Description
RtfShape

The Word/RTF wrapper shape.