DrawingObject.ShapeFormat Property
Provides access to shape properties.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
ShapeFormat | An object that contains shape properties. |
Remarks
The ShapeFormat
property is available objects with the DrawingObject.Type property set to Shape
. For other drawing object types the ShapeFormat
property returns null
.
Use the ShapeFormat property to access the following shape properties:
ShapeFormat.ConnectionSiteCount - returns the number of connection sites for a shape.
ShapeFormat.Preset - specifies a shape’s form.
ShapeFormat.HasText - determines whether a shape contains text.
ShapeFormat.TextBox - provides access to text box settings and allows you to modify its content.