[]
        
(Showing Draft Content)

C1.C1Word.C1WordDocument.AddPicture

AddPicture Method

AddPicture(C1Bitmap)

Add (draw) image/bitmap with content alignment.

Declaration
public RtfPicture AddPicture(C1Bitmap image)
Public Function AddPicture(image As C1Bitmap) As RtfPicture
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)
Public Function AddPicture(image As C1Bitmap, align As RtfHorizontalAlignment) As RtfPicture
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)
Public Function AddPicture(image As C1Bitmap, wrap As ShapeWrapType, Optional zIndex As ZIndexType = ZIndexType.Default) As RtfShape
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)
Public Function AddPicture(image As Image) As RtfPicture
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)
Public Function AddPicture(image As Image, align As RtfHorizontalAlignment) As RtfPicture
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)
Public Function AddPicture(image As Image, wrap As ShapeWrapType, Optional zIndex As ZIndexType = ZIndexType.Default) As RtfShape
Parameters
Type Name Description
Image image

The drawing image/bitmap.

ShapeWrapType wrap
ZIndexType zIndex
Returns
Type Description
RtfShape

The Word/RTF wrapper shape.