Class ImageAttrs
Strongly typed attributes for ImageNode. Limited to
the five properties the application supports (master prompt section 12):
src, width, height, align, indent.
alt, title, display, wrap, attributes
are silently dropped if they appear in runtime JSON — this class does not
declare them.
Inheritance
System.Object
ImageAttrs
Namespace: Syncfusion.Maui.RichTextEditor
Assembly: Syncfusion.Maui.RichTextEditor.dll
Syntax
public sealed class ImageAttrs : Object
Constructors
ImageAttrs()
Declaration
public ImageAttrs()
Properties
Align
Runtime alignment string. Preserved verbatim because the contract is not a closed set.
Declaration
public string Align { get; set; }
Property Value
| Type |
|---|
| System.String |
Height
Image height in pixels. null means the runtime did not provide a height.
Declaration
public Nullable<double> Height { get; set; }
Property Value
| Type |
|---|
| System.Nullable<System.Double> |
Indent
Indentation level. 0 means no indent. Must NOT be discarded when zero.
Declaration
public int Indent { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
Src
Image source URL.
Declaration
public string Src { get; set; }
Property Value
| Type |
|---|
| System.String |
Width
Image width in pixels. null means the runtime did not provide a width.
Declaration
public Nullable<double> Width { get; set; }
Property Value
| Type |
|---|
| System.Nullable<System.Double> |