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.
Inherited Members
Namespace: Syncfusion.Maui.RichTextEditor
Assembly: Syncfusion.Maui.RichTextEditor.dll
Syntax
public sealed class ImageAttrs
Constructors
ImageAttrs()
Declaration
public ImageAttrs()
Properties
Align
Runtime alignment string. Preserved verbatim because the contract is not a closed set.
Declaration
[JsonPropertyName("align")]
public string? Align { get; set; }
Property Value
| Type |
|---|
| string |
Height
Image height in pixels. null means the runtime did not provide a height.
Declaration
[JsonPropertyName("height")]
public double? Height { get; set; }
Property Value
| Type |
|---|
| double? |
Indent
Indentation level. 0 means no indent. Must NOT be discarded when zero.
Declaration
[JsonPropertyName("indent")]
public int Indent { get; set; }
Property Value
| Type |
|---|
| int |
Src
Image source URL.
Declaration
[JsonPropertyName("src")]
public string? Src { get; set; }
Property Value
| Type |
|---|
| string |
Width
Image width in pixels. null means the runtime did not provide a width.
Declaration
[JsonPropertyName("width")]
public double? Width { get; set; }
Property Value
| Type |
|---|
| double? |