Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / ImageData Class
Properties Methods

In This Topic
    ImageData Class Members
    In This Topic

    The following tables list the members exposed by ImageData.

    Public Properties
     NameDescription
    Public Property Gets or sets the image compression value.  
    Public Property Gets the image content type.  
    Public Property Gets the portion of the image used for the fill.  
    Public PropertyGets or sets the DPI (dots per inch) used to calculate the size of the image.

    If zero, the DPI in the image is used.

     
    Public Property Gets or sets the image fill type.  
    Public Property Gets a value indicating whether the picture has image bytes or links to an image.  
    Public PropertyGets the raw bytes of the image stored in this picture.

    Gets null if the image is not stored in the document (e.g the image is probably linked in this case).

     
    Public PropertyGets a value indicating whether the image is linked to this picture (when Source is specified).  
    Public Property Gets a value indicating whether the image is linked and not stored in the document.  
    Public Property Gets or sets whether the data rotates along with the object when the object is rotated.  
    Public Property Gets or sets the path and name of the source file for the linked image.  
    Public PropertyGets a stretch fill rectangle.

    When stretching an image, the source rectangle is scaled to fit the specified fill rectangle.

     
    Public Property Gets the image tile format used to fill the available space.  
    Public Property Gets or sets the degree of transparency of the image as a value between 0 (opaque) and 1 (clear).  
    Top
    Public Methods
     NameDescription
    Public Method Clears direct formatting in the object. (Inherited from GrapeCity.Documents.Word.FormattingBag)
    Public MethodOverloaded.  Saves the image into a file.  
    Public MethodOverloaded.  Sets the image that is displayed by this picture.  
    Public MethodReturns 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.

     
    Public MethodCreates and returns a stream containing the image bytes.

    If the image bytes are stored in the picture, creates and returns a MemoryStream object.

    If the image is linked and stored in a file, opens the file and returns a FileStream object.

    If the image is linked and stored in an external URL, downloads the file and returns a MemoryStream object.

     
    Top
    See Also