Class MsoFormatPicture

Class MsoFormatPicture

Namespace: Aspose.Cells.Drawing
Assembly: Aspose.Cells.dll (25.2.0)

Represents the picture format.

public class MsoFormatPicture

Inheritance

objectMsoFormatPicture

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

BottomCrop

Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.

public double BottomCrop { get; set; }

Property Value

double

BottomCropInch

Represents the location of the bottom of the crop rectangle expressed, in unit of inches.

public double BottomCropInch { get; set; }

Property Value

double

Brightness

Represents the brightness modification for the picture in unit of percentage.

public double Brightness { get; set; }

Property Value

double

Remarks

It is between -100% and 100%. It works same as Excel 2007 or above version.

Contrast

Represents the contrast modification for the picture.in unit of percentage.

public double Contrast { get; set; }

Property Value

double

Remarks

It is between -100% and 100%. It works same as Excel 2007 or above version.

Gamma

Represents gamma of the picture.

public double Gamma { get; set; }

Property Value

double

IsBiLevel

Indicates whether this picture should display in two-color black and white.

public bool IsBiLevel { get; set; }

Property Value

bool

IsGray

Indicates whether this picture should display in grayscale.

public bool IsGray { get; set; }

Property Value

bool

LeftCrop

Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.

public double LeftCrop { get; set; }

Property Value

double

LeftCropInch

Represents the location of the left of the crop rectangle expressed, in unit of inches.

public double LeftCropInch { get; set; }

Property Value

double

RightCrop

Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.

public double RightCrop { get; set; }

Property Value

double

RightCropInch

Represents the location of the right of the crop rectangle expressed, in unit of inches.

public double RightCropInch { get; set; }

Property Value

double

TopCrop

Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.

public double TopCrop { get; set; }

Property Value

double

TopCropInch

Represents the location of the top of the crop rectangle expressed, in unit of inches.

public double TopCropInch { get; set; }

Property Value

double

Transparency

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

public double Transparency { get; set; }

Property Value

double

TransparentColor

Gets and sets the transparent color of the picture.

public CellsColor TransparentColor { get; set; }

Property Value

CellsColor

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

Gets the hash code.

public override int GetHashCode()

Returns

int