[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ImageData.SetImage

SetImage Method

SetImage(byte[], string)

Sets the image that is displayed by this picture.

Declaration
public override void SetImage(byte[] bytes, string contentType)
Public Overrides Sub SetImage(bytes As Byte(), contentType As String)
Parameters
Type Name Description
byte[] bytes

The byte array of the image.

string contentType

The content type of the image data.

Overrides

SetImage(Uri, string)

Sets the image that is displayed by this picture.

Declaration
public override void SetImage(Uri uri, string contentType)
Public Overrides Sub SetImage(uri As Uri, contentType As String)
Parameters
Type Name Description
Uri uri

The URI to the image file.

string contentType

The content type of the image data.

Overrides