The IEObjectMemo type exposes the following properties.

Properties

 Public

 Protected
 Instance

 Static
 Declared

 Inherited
 XNA Framework Only

 .NET Compact Framework Only

 MemberDescription
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.

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

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.
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).
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.
Selected

Allows to know if the object is selected.

Also it allows to select the object.

Shadow
Specifies the object shadow properties
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
Transparency

Specifies the object transparency.

0=fully transparent 255=fully opaque

Width
The width of the object

See Also