Aspose::Cells::Drawing::MsoFormatPicture class

MsoFormatPicture class

Represents the picture format.

class MsoFormatPicture

Methods

MethodDescription
GetBottomCrop()Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
GetBottomCropInch()Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
GetBrightness()Represents the brightness modification for the picture in unit of percentage.
GetContrast()Represents the contrast modification for the picture.in unit of percentage.
GetGamma()Represents gamma of the picture.
GetHashCode()Gets the hash code.
GetLeftCrop()Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
GetLeftCropInch()Represents the location of the left of the crop rectangle expressed, in unit of inches.
GetRightCrop()Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
GetRightCropInch()Represents the location of the right of the crop rectangle expressed, in unit of inches.
GetTopCrop()Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
GetTopCropInch()Represents the location of the top of the crop rectangle expressed, in unit of inches.
GetTransparency()Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
GetTransparentColor()Gets and sets the transparent color of the picture.
IsBiLevel()Indicates whether this picture should display in two-color black and white.
IsGray()Indicates whether this picture should display in grayscale.
IsNull() constChecks whether the implementation object is nullptr.
MsoFormatPicture(MsoFormatPicture_Impl* impl)Constructs from an implementation object.
MsoFormatPicture(const MsoFormatPicture& src)Copy constructor.
explicit operator bool() constoperator bool()
operator=(const MsoFormatPicture& src)operator=
SetBottomCrop(double value)Represents the location of the bottom of the crop rectangle expressed, expressed as a ratio of the image’s height.
SetBottomCropInch(double value)Represents the location of the bottom of the crop rectangle expressed, in unit of inches.
SetBrightness(double value)Represents the brightness modification for the picture in unit of percentage.
SetContrast(double value)Represents the contrast modification for the picture.in unit of percentage.
SetGamma(double value)Represents gamma of the picture.
SetIsBiLevel(bool value)Indicates whether this picture should display in two-color black and white.
SetIsGray(bool value)Indicates whether this picture should display in grayscale.
SetLeftCrop(double value)Represents the location of the left of the crop rectangle expressed, expressed as a ratio of the image’s width.
SetLeftCropInch(double value)Represents the location of the left of the crop rectangle expressed, in unit of inches.
SetRightCrop(double value)Represents the location of the right of the crop rectangle expressed, expressed as a ratio of the image’s width.
SetRightCropInch(double value)Represents the location of the right of the crop rectangle expressed, in unit of inches.
SetTopCrop(double value)Represents the location of the top of the crop rectangle expressed, expressed as a ratio of the image’s height.
SetTopCropInch(double value)Represents the location of the top of the crop rectangle expressed, in unit of inches.
SetTransparency(double value)Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
SetTransparentColor(const CellsColor& value)Gets and sets the transparent color of the picture.
~MsoFormatPicture()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also