The Text object

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

Syntax

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

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
IEObjectText(IEAnnotations)
Creates a new TEXT object
AddCurvePoint(Double, Double)
Inserts a new point to the specified curved text (IEObjectText object). Coordinates must be floating point values from 0 to 1.
AutoSize

Use AutoSize to make the text object adjust its size automatically so the bounding box accommodates the width of the text.

When AutoSize is False, the text object has a fixed width. When AutoSize is True, the size of the object is readjusted whenever the user insert or delete characters.

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.
CopyTo(IEAnnotations)
Copies the object to another IEAnnotation class
CreateCurveFromPolyline(IEObject)
Creates a curve (calling AddCurvePoint) with the shape specified by the source polyline object (this one must be a IEObjectPolyline object).
CreateCurveShape(IETextCurveShape, Int32, Boolean)
Creates a curve (calling AddCurvePoint) with the shape specified in shape parameter.
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.)
FontAngle
The rotation angle of the text. The angle is in degrees (positive values rotate in counterclockwise).
FontHeight
Specifies the height of the text font.
FontName
Specifies the font name
FontQuality
Specifies the quality (antialias, clear type, etc) of the text font.
FontStyle
Specifies the font style
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
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.
Text
The object text
TextAlign
Specifies how text is aligned within the object.
TextEditable
If true (default) the specified text or memo object is editable, otherwise it is read only.
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..::..IEObjectText

See Also