Skip to main content

Shape.Offset Property

Gets or sets the shape position relative to a certain element of the document layout .

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v14.2.Core.dll

Declaration

PointF Offset { get; set; }
Property Offset As PointF

Property Value

Type Description
PointF

A PointF object specifying the offset of the shape.

Remarks

The position of a shape is measured from the upper-left corner of the shape's bounding box. The Shape.RelativeHorizontalPosition and the Shape.RelativeVerticalPosition properties define elements of the document layout from which an offset is measured. If horizontal or vertical alignment is specified (the Shape.HorizontalAlignment or the Shape.VerticalAlignment properties are set to values other than None), the Offset value is disregarded.

See Also