Link Search Menu Expand Document

PictureShape Class

Picture shape
Inheritance Hierarchy
SystemObject
Bytescout.Spreadsheet.MSODrawingPictureShape

Namespace:Bytescout.Spreadsheet.MSODrawing
Assembly: Bytescout.Spreadsheet (in Bytescout.Spreadsheet.dll) Version: 4.7.0.2045-master
Syntax
public class PictureShape : IPictureShape

The PictureShape type exposes the following members.

Constructors
NameDescription
Public methodPictureShape
Initializes a new instance of the PictureShape class.
Top
Properties
NameDescription
Public propertyBrightness
Gets or sets the brightness of the picture. The minimum value of 0.0 specifies that the picture is rendered with the minimum brightness (dimmest). The maximum value of 1.0 specifies that the picture is rendered with the maximum brightness (brightest). The default value for this property is 0.5 and specifies no change to the brightness of the picture.
Public propertyColorType
Gets or sets the type of color transformation applied to the picture.
Public propertyContrast
Gets or sets the contrast of the picture. The minimum value of 0.0 specifies that the picture is rendered with no contrast. The maximum value of 1.0 specifies that the picture is rendered with maximum contrast. The default value for this property is 0.5 and specifies no change to the contrast of the picture.
Public propertyCropFromBottom
Gets or sets the value specified how much to crop the image from the bottom up as a fraction of picture size.
Public propertyCropFromLeft
Gets or sets the value specified how much to crop the image from the left in as a fraction of picture size.
Public propertyCropFromRight
Gets or sets the value specified how much to crop the image from the right in as a fraction of picture size.
Public propertyCropFromTop
Gets or sets the value specified how much to crop the image from the top down as a fraction of picture size.
Public propertyFill
Fill format
Public propertyHeight
Gets or sets the height of this picture in pixels.
Public propertyLeft
Gets or sets the position of the left edge of this picture in pixels.
Public propertyLeftColumn
Gets or sets the left column.
Public propertyLine
Gets or sets the LineFormat object represents the border.
Public propertyLockAspectRatio
Gets or sets a value indicating whether the aspect ratio of this picture is locked.
Public propertyLocked
Gets or sets a value indicating whether this PictureShape is locked.
Public propertyName
Name of the picture
Public propertyPicture
Gets the picture.
Public propertyPlacementType
Gets or sets the Placement setting of this picture, which specifies how changes to the sheet will affect the placement of this picture.
Public propertyPrint
Gets or sets a value indicating whether this PictureShape is printable.
Public propertyRotation
Gets or sets the rotation of the picture, in degrees.
Public propertyTop
Gets or sets the position of the top edge of this picture in pixels.
Public propertyTopRow
Gets or sets the top row.
Public propertyWidth
Gets or sets the width of this picture in pixels.
Top
Methods
NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodScaleHeight
Scales the height of the picture by a specified factor.
Public methodScaleWidth
Scales the width of the picture by a specified factor.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference