• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ImageData

Defines an image for a shape.

Inheritance
object
ImageData
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class ImageData

Properties

BiLevel

Determines whether an image will be displayed in black and white.

Declaration
public bool BiLevel { get; set; }
Property Value
Type Description
bool

Borders

Gets the collection of borders of the image. Borders only have effect for inline images.

Declaration
public BorderCollection Borders { get; }
Property Value
Type Description
BorderCollection

Brightness

Gets or sets the brightness of the picture. The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).

Declaration
public double Brightness { get; set; }
Property Value
Type Description
double

ChromaKey

Defines the color value of the image that will be treated as transparent.

Declaration
public Color ChromaKey { get; set; }
Property Value
Type Description
Color

Contrast

Gets or sets the contrast for the specified picture. The value for this property must be a number from 0.0 (the least contrast) to 1.0 (the greatest contrast).

Declaration
public double Contrast { get; set; }
Property Value
Type Description
double

CropBottom

Defines the fraction of picture removal from the bottom side.

Declaration
public double CropBottom { get; set; }
Property Value
Type Description
double

CropLeft

Gets or sets crop left.

Declaration
public double CropLeft { get; set; }
Property Value
Type Description
double

CropRight

Gets or sets crop right.

Declaration
public double CropRight { get; set; }
Property Value
Type Description
double

CropTop

Defines the fraction of picture removal from the top side.

Declaration
public double CropTop { get; set; }
Property Value
Type Description
double

GrayScale

Determines whether a picture will display in grayscale mode.

Declaration
public bool GrayScale { get; set; }
Property Value
Type Description
bool

HasImage

Gets or sets has image.

Declaration
public bool HasImage { get; }
Property Value
Type Description
bool

ImageBytes

Gets or sets image bytes.

Declaration
public byte[] ImageBytes { get; set; }
Property Value
Type Description
byte[]

ImageSize

Gets or sets image size.

Declaration
public ImageSize ImageSize { get; }
Property Value
Type Description
ImageSize

ImageType

Gets or sets image type.

Declaration
public ImageType ImageType { get; }
Property Value
Type Description
ImageType

IsLink

Gets or sets is link.

Declaration
public bool IsLink { get; }
Property Value
Type Description
bool

IsLinkOnly

Returns true if the image is linked and not stored in the document.

Declaration
public bool IsLinkOnly { get; }
Property Value
Type Description
bool

SourceFullName

Gets or sets source full name.

Declaration
public string SourceFullName { get; set; }
Property Value
Type Description
string

Title

Gets or sets title.

Declaration
public string Title { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX