The Image object

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public class IEObjectImage : IEObject
Public Class IEObjectImage _
	Inherits IEObject
public ref class IEObjectImage : public IEObject

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
IEObjectImage(IEAnnotations)
Creates a new IMAGE object
IEObjectImage(IEAnnotations, Boolean)
Creates a new IMAGE object from the parent IEViewer seleced area
BlendOperation
BlendOperation specifies the blending operation. Default is RenderOperation.Normal.
Bottom
Specifies the bottom offset of this object. The coordinates are in pixels with zoom = 100%. When setting Bottom also Top is moved in order to maintain the original object width.
BrushColor
Get/set the object brush color
BrushStyle
Specifies the pattern for the brush.
CopyFromImage(IEImage)
Copies an image inside the object
CopyTo(IEAnnotations)
Copies the object to another IEAnnotation class
CopyToImage(IEImage)
Copies the object image to a destination.
DrawBorder
If True a border around the bitmap object will be painted.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetObjectDiagonalLen

GetObjectDiagonalLen returns the diagonal length of the specified object.

For a box (image or rectangle) it is the diagonal length. For a line (or ruler) it is the line or ruler length.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Height
The height of the object
ID
ID is an application value for the object. IEvolution doesn't use this value, but saves and loads like other properties.
IsVisible()()()()
Checks if this object is visible.
Layer
Specifies layer index where the object is located (drawed and referenced). Default is "0" and means draw on layer 0.
Left
The left coordinate of the object
LoadImageFromFile(String)
Loads the image from a file.
LoadImageFromStream(Stream)
Loads the iamge from stream, autodetecting image format.
LoadImageFromStream(Stream, IEFileFormats)
Loads the image from stream.
MaintainAspectRatio
When true, the object maintain the aspect ratio when resized (like ALT key).
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Name is an application string for the object. IEvolution doesn't use this value, but saves and loads like other properties.
PenColor
Get/set the object pen color
PenStyle
Determines the style in which the pen draws lines.
PenWidth
Use Width to give the line greater weight.
Rect
Set/get the object rectangle.
Right
Specifies the right offset of this object. The coordinates are in pixels with zoom = 100%. When setting Right also Left is moved in order to maintain the original object width.
Rotate(Double, IERCenter)

Rotates all objects by the specified angle (in degrees).

If center is Image only 90/180/270 degrees rotations are allowed.

BOX, ELLIPSE, BITMAP and TEXT can be rotated only by 90/180/270 degrees.

This method doesn't work with MEMO and curved texts.

It is better to call RotateAll before rotate the background image.

Selected

Allows to know if the object is selected.

Also it allows to select the object.

SetBackTo(IEObject)
Moves the object back to the specified one.
SetInFronOf(IEObject)
Moves the object over the specified one.
Shadow
Specifies the object shadow properties
StretchTextRect()()()()

Stretches text rectangle to the size required to display the whole text.

Note: borders (see ObjPenWidth) can hide some text. To avoid this disable ZoomObjectsWidth.

This method works only with horizontal text and only for iekTEXT objects.

Style
Specifies the object behavior.
Top
The top coordinate of the object
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Transparency

Specifies the object transparency.

0=fully transparent 255=fully opaque

Width
The width of the object

Inheritance Hierarchy

System..::..Object
  HiComponents.IEvolution..::..IEObject
    HiComponents.IEvolution..::..IEObjectImage

See Also