Click or drag to resize

TextShape Class

character.
Inheritance Hierarchy

Namespace:  RootPro.RootProCAD
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class TextShape : Shape

The TextShape type exposes the following members.

Constructors
  NameDescription
Protected methodTextShape
Initializes a new instance of the TextShape class
Top
Properties
  NameDescription
Public propertyAlignment
Get or set the alignment reference position.
Public propertyAngle
Get or set the alignment angle (Degree) of the character.
Public propertyAttributes
Get the attribute collection.
(Inherited from Shape.)
Public propertyBackgroundColor
Get or set the background color of the text.
Public propertyBackgroundColorNumber
Gets or sets the color number of the background color of the text.
Public propertyBackgroundTransparency
Gets or sets the transparency of the text background color.
Public propertyBold
Gets or sets a value indicating whether the character is bold.
Public propertyColor
Get or set the color of the character.
Public propertyColorNumber
Get or set the color number of the character.
Public propertyDirectionVertical
Gets or sets the orientation of the character.
Public propertyDocument
Acquire the document.
(Inherited from Shape.)
Public propertyDrawGroup
Acquire the parent's drawing group.
(Inherited from Shape.)
Public propertyDrawing
Acquire a partial diagram.
(Inherited from Shape.)
Public propertyFontHeight
Get or set the character height.
Public propertyFontName
Get or set font name.
Public propertyHorizontalReverse
Gets or sets a value indicating whether the character is inverted horizontally.
Public propertyIsComposite
Gets a value indicating whether it is a complex figure.
(Inherited from Shape.)
Public propertyIsTemporary
Get a value indicating whether it is a temporary shape.
(Inherited from Shape.)
Public propertyLayer
Get or set the layer.
(Inherited from Shape.)
Public propertyLayerID
Get or set the ID of the layer.
(Inherited from Shape.)
Public propertyLayoutHeight
layout range (character string range) Get or set the height.
Public propertyLayoutWidth
Layout range (character string range) Get or set the width.
Public propertyLineSpacing
Get or set line spacing.
Public propertyNumber
Acquires the figure number.
(Inherited from Shape.)
Public propertyOutline
Gets or sets a value indicating whether the character is hollowed out.
Public propertyOverline
Gets or sets a value indicating whether an upper line is attached to the character.
Public propertyPoint
Get or set the coordinates of the placement point.
Public propertyRecordID
Get the record ID.
(Inherited from Shape.)
Public propertyShowBackground
Gets or sets a value that indicates whether to display the background color of the text.
Public propertySlant
Gets or sets the slope of the character.
Public propertySpacing
Get or set character spacing.
Public propertyStrikeout
Gets or sets a value indicating whether a strikethrough is attached to the character.
Public propertyText
Get or set a string.
Public propertyUnderline
Gets or sets a value indicating whether the character is underlined.
Public propertyVerticalReverse
Gets or sets a value indicating whether the character is turned upside down.
Public propertyWidthScale
Get or set the character width ratio.
Public propertyWordWrap
Gets or sets a value indicating Whether to prevent automatic line breaks in the middle of an English word.
Top
Methods
  NameDescription
Public methodClone
Duplicate a shape to create a temporary instance.
(Inherited from Shape.)
Public methodCopy
Create a copy of the shape and add it to the drawing.
(Inherited from Shape.)
Public methodDelete
Delete the shape.
(Inherited from Shape.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExplode
Disassemble the shape.
(Inherited from Shape.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBoundingBox
Get the rectangular area surrounding the shape.
(Inherited from Shape.)
Public methodGetBoundingPoints
Get the area surrounding the shape.
(Inherited from Shape.)
Public methodGetExplodedShapes
Get the decomposed figure.
(Inherited from Shape.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOutlineShapes
Get a shape that represents the outline of characters.

Using this API to infringe on the rights of font creators is prohibited. Please handle the fonts with care. Please use it at your own risk.

RootPro Co.,Ltd. shall not be liable for any dispute between the API user and any third party arising out of or in connection with the use of this API.

It may not be possible to obtain outlines from some fonts.

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMirror
Move the figure mirror image.
(Inherited from Shape.)
Public methodMove
Move the shape.
(Inherited from Shape.)
Public methodRotate
Rotate the shape.
(Inherited from Shape.)
Public methodScale
Zoom in or out the shape.
(Inherited from Shape.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTransform
Convert geometry with specified magnification, angle and coordinates.
(Inherited from Shape.)
Public methodUpdateAlignment
Set the alignment and update the coordinates of the placement point.
Top
See Also