Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ImageData Class / ToByteArray Method

In This Topic
    ToByteArray Method (ImageData)
    In This Topic
    Returns a byte array representing the image, regardless of whether the image is stored or linked.

    If the image is linked, this method downloads the image each time it is called.

    Syntax
    'Declaration
     
    Public Overrides Function ToByteArray() As System.Byte()
    public override System.byte[] ToByteArray()

    Return Value

    The image bytes.
    See Also