Document Solutions for Word
DS.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 PropertyGets or sets a value to change the brightness.

    Allowed values are from -1 (darkest) to 1 (lightest), inclusive.

    The default is 0.

     
    Public Property Gets the complementary vector data of the image.  
    Public Property Gets or sets the image compression value.  
    Public Property Gets the image content type. (Inherited from GrapeCity.Documents.Word.EmbeddedImageData)
    Public PropertyGets or sets a value to change the contrast.

    Allowed values are from -1 to 1, inclusive.

    The default is 0.

     
    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 the list of the image effects.  
    Public Property Gets or sets the image fill type.  
    Public PropertyOverridden.  Gets a value indicating whether the picture contains image bytes or links to an image.  
    Public Property Gets the raw bytes of the image stored in the picture. (Inherited from GrapeCity.Documents.Word.EmbeddedImageData)
    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 the amount of saturation applied to the picture.  
    Public Property Gets the amount to sharpen (if positive) or the amount to blur (if negative).  
    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 color temperature of the light source in the picture.  
    Public Property Gets the image tile format used to fill the available space.  
    Public PropertyGets or sets the degree of transparency of the image as a value between 0 (opaque) and 1 (clear).

    Allowed values are from 0 to 1, inclusive.

    The default is 0.

     
    Public Property Gets the properties for displaying an online video to the user.  
    Top
    Public Methods
     NameDescription
    Public Method Clears direct formatting in the object. (Inherited from GrapeCity.Documents.Word.FormattingBag)
    Public MethodOverridden.   
    Public MethodOverridden. Serves as the default hash function.  
    Public Method Changes the color of the image.  
    Public MethodChanges the color of the image.

    For each pixel, combines black color and specified color using a linear interpolation.

     
    Public MethodChanges the color of the image.

    For each pixel, combines specified color and white color using a linear interpolation.

     
    Public MethodOverloaded. Overridden.  Saves the image into the specified stream.  
    Public Method Makes a color in the current image transparent.  
    Public MethodOverloaded. Overridden.  Sets the image that is displayed by this picture.  
    Public MethodOverridden. 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.

     
    Public MethodOverridden. Creates 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