The ImageShape type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ImageShape()()()() |
Creates a new ImageShape.
| |
| ImageShape(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.
| |
| ImageShape(Stream) |
Create a new ImageShape from a stream of binary data.
| |
| ImageShape(String) |
Create a new image shape from a relative or virtual path.
| |
| ImageShape(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.
| |
| ImageShape(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.
| |
| ImageShape(SerializationInfo, StreamingContext) |
ImageShape constructor for serialization purposes.
| |
| ImageShape(String, Int32) |
Create a new image shape from a relative, absolute or virtual path.
| |
| ImageShape(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.
| |
| ImageShape(Stream, Int32, Boolean) |
Create a new ImageShape from a stream of binary data.
|
Methods
| Name | Description | |
|---|---|---|
| Clone |
Clones a Shape.
(Overrides Shape..::..Clone()()()().) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetFrameCount(Bitmap) |
Extract the number of frames from the image data.
| |
| GetFrameCount(Stream) |
Extract the number of frames from the image data.
| |
| GetFrameCount(String) |
Extract the number of frames from the image data.
| |
| GetFrameCount(String, Object, GetWebCredentialsEventHandler) |
Extract the number of frames from the image data.
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BottomMargin |
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Compression |
The compression to apply to the image data.
| |
| Dock |
How this shape is docked.
(Inherited from Shape.) | |
| FrameCount |
The number of frames in the image.
| |
| FrameIndex |
The FrameIndex which will be used to get the actual image data from the Bitmap
| |
| Height |
The height of the image.
| |
| ID |
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.) | |
| IgnoreAlpha |
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.
| |
| InvertCmykChannels |
Set to true to invert the colors in a CMYK image.
| |
| KeepAspectRatio |
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.
| |
| LeftMargin |
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| MaskColor |
Set the color that will act as the transparent color.
| |
| Opacity |
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.) | |
| Path |
Relative or absolute path of image file.
| |
| RightMargin |
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Rotation |
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.) | |
| RotationOffsetX |
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| RotationOffsetY |
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.) | |
| TopMargin |
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.) | |
| Width |
The width of the image.
| |
| X |
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) | |
| Y |
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.) |
Events
| Name | Description | |
|---|---|---|
| GetWebCredentials |
Occurs when a image is loaded from a weblocation to retrieve the credentials.
|