The Memo object

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

Syntax

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

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
IEObjectMemo(IEAnnotations)
Creates a new MEMO object
AutoSize

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

When AutoSize is False, the text object has a fixed height. 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.
BorderColor
Get/set the object border color
BorderStyle
Determines the style in which the pen draws border.
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.
CharsBrush

This property allows to set the default brush style when FontLocked is false.

The default is IEBrushStyles.Solid, which means that when you change the memo background color the characters remains with their unchanged background color.

CopyTo(IEAnnotations)
Copies the object to another IEAnnotation class
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.)
FontHeight
Specifies the height of the text font.
FontLocked

When the object is Memo (IEObjectMemo) locks the alignment, color and font, allowing all characters to have the same aspect.

If this property is disabled (false) the user can modify font and alignment using following control keys:

F2 : increase font size

F1 : decrease font size

CTRL + L : left align

CTRL + E : center align

CTRL + R : right align

CTRL + J : justified

CTRL + F : open font dialog

CTRL + B : Bold

CTRL + I : Italic

CTRL + U : Underline

CTRL + G : set background color (open dialog)

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..::..IEObjectMemo

See Also