[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.EmbeddedImageData

EmbeddedImageData Class

Represents embedded image data.

Derived classes include ImageData.

Inheritance
EmbeddedImageData
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class EmbeddedImageData : FormattingBag
Public Class EmbeddedImageData
    Inherits FormattingBag

Properties

Name Description
ContentType

Gets the image content type.

HasImage

Gets a value indicating whether the picture has image bytes.

ImageBytes

Gets the raw bytes of the image stored in the picture.

Methods

Name Description
Equals(EmbeddedImageData)
Equals(object)
GetHashCode()
Save(Stream)

Saves the image into a specified stream.

Save(string)

Saves the image into a file.

SetImage(Image)

Sets the image that is displayed by the picture.

SetImage(byte[], string)

Sets the image that is displayed by the picture.

SetImage(Stream, string)

Sets the image that is displayed by the picture.

SetImage(Uri, string)

Sets the image that is displayed by the picture.

ToByteArray()

Returns a byte array representing the image.

ToStream()

Creates and returns a stream containing the image bytes.