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

In This Topic
    ToByteArray Method
    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 Function ToByteArray() As System.Byte()
    public System.byte[] ToByteArray()

    Return Value

    The image bytes.
    See Also