[]
        
(Showing Draft Content)

C1.WPF.Word.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(WriteableBitmap)

Add (draw) image/bitmap with content alignment.

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

The drawing image/bitmap.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(WriteableBitmap, RtfHorizontalAlignment)

Add (draw) image/bitmap with content alignment.

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

The drawing image/bitmap.

RtfHorizontalAlignment align

The paragraph alignment.

Returns
Type Description
RtfPicture

The Word/RTF picture object.

AddPicture(WriteableBitmap, ShapeWrapType, ZIndexType)

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

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

The drawing image/bitmap.

ShapeWrapType wrap
ZIndexType zIndex
Returns
Type Description
RtfShape

The Word/RTF wraper shape.