DiagramImage.StretchMode Property

Specifies whether to preserve the aspect ratio of the source image when resizing the diagram image item.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v20.1.dll

Declaration

[DefaultValue(StretchMode.Uniform)]
[DiagramCategory(DiagramCategory.Behavior)]
public virtual StretchMode StretchMode { get; set; }
<DefaultValue(StretchMode.Uniform)>
<DiagramCategory(DiagramCategory.Behavior)>
Public Overridable Property StretchMode As StretchMode

Property Value

Type Default Description
StretchMode

Uniform

A StretchMode enumeration value.

Implements

DevExpress.Diagram.Core.IDiagramImage.StretchMode
See Also