[]
        
(Showing Draft Content)

C1.C1Word.C1WordDocument.AddPicture

AddPicture Method

AddPicture(C1Bitmap)

Add (draw) image/bitmap with content alignment.

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

The drawing image/bitmap.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(C1Bitmap, RtfHorizontalAlignment)

Add (draw) image/bitmap with content alignment.

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

The drawing image/bitmap.

RtfHorizontalAlignment align

The paragraph alignment.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(C1Bitmap, ShapeWrapType, ZIndexType)

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

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

The drawing image/bitmap.

ShapeWrapType wrap
ZIndexType zIndex
Returns
Type Description
RtfShape

The Word/RTF wraper shape.

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.