The ImageShape type exposes the following members.

Constructors

  NameDescription
Public methodImageShape()()()()
Creates a new ImageShape.
Public methodImageShape(Bitmap)
Create a new ImageShape from a System.Drawing.Bitmap. This constructor allows you to draw to a GDI+ surface and pass it to the ImageShape class without intermediate, temporary file.
Public methodImageShape(Stream)
Create a new ImageShape from a stream of binary data.
Public methodImageShape(String)
Create a new image shape from a relative or virtual path.
Public methodImageShape(Bitmap, Boolean)
Create a new ImageShape from a System.Drawing.Bitmap. This constructor allows you to draw to a GDI+ surface and pass it to the ImageShape class without intermediate, temporary file.
Public methodImageShape(Bitmap, Int32)
Create a new ImageShape from a System.Drawing.Bitmap and select a frame index. This constructor allows you to draw to a GDI+ surface and pass it to the ImageShape class without intermediate, temporary file.
Public methodImageShape(SerializationInfo, StreamingContext)
ImageShape constructor for serialization purposes.
Public methodImageShape(String, Int32)
Create a new image shape from a relative, absolute or virtual path.
Public methodImageShape(Bitmap, Int32, Boolean)
Create a new ImageShape from a System.Drawing.Bitmap and select a frame index. This constructor allows you to draw to a GDI+ surface and pass it to the ImageShape class without intermediate, temporary file.
Public methodImageShape(Stream, Int32, Boolean)
Create a new ImageShape from a stream of binary data.

Methods

  NameDescription
Public methodClone
Clones a Shape.
(Overrides Shape..::..Clone()()()().)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFrameCount(Bitmap)
Extract the number of frames from the image data.
Public methodStatic memberGetFrameCount(Stream)
Extract the number of frames from the image data.
Public methodStatic memberGetFrameCount(String)
Extract the number of frames from the image data.
Public methodStatic memberGetFrameCount(String, Object, GetWebCredentialsEventHandler)
Extract the number of frames from the image data.
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 methodRead(String)
Read from XML file.
(Inherited from Object.)
Public methodRead(XmlElement)
Read from XML element.
(Inherited from Object.)
Public methodRead(XmlReader)
Read from XML reader.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyCompression
The compression to apply to the image data.
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyFrameCount
The number of frames in the image.
Public propertyFrameIndex
The FrameIndex which will be used to get the actual image data from the Bitmap
Public propertyHeight
The height of the image.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyIgnoreAlpha
Set to true to completely ignore alpha transparency in the image. If no alpha information is available this setting is ignored. Default value is false.
Public propertyInvertCmykChannels
Set to true to invert the colors in a CMYK image.
Public propertyKeepAspectRatio
If KeepAspectRatio is set to true, the height is calculated from the width so that the width/height ratio is equal to the columns/rows ratio of the raster of the original image. If set to false, the specified width and height are used and the image will in general appear distorted.
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyMaskColor
Set the color that will act as the transparent color.
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyPath
Relative or absolute path of image file.
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyWidth
The width of the image.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

Events

  NameDescription
Public eventGetWebCredentials
Occurs when a image is loaded from a weblocation to retrieve the credentials.

See Also