Class SelectionImageFormatModule
Represents the selection image format module in DocumentEditor.
Inheritance
System.Object
SelectionImageFormatModule
Namespace: Syncfusion.Blazor.DocumentEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class SelectionImageFormatModule : Object
Constructors
SelectionImageFormatModule(BaseComponent)
Default constructor for SelectionImageFormatModule.
Declaration
public SelectionImageFormatModule(BaseComponent baseComponent)
Parameters
Type | Name | Description |
---|---|---|
BaseComponent | baseComponent | An DocumentEdiorComponent instance. |
Properties
DocumentEditorComponent
DocumentEdiorComponent instance.
Declaration
protected BaseComponent DocumentEditorComponent { get; set; }
Property Value
Type | Description |
---|---|
BaseComponent |
Methods
GetHeight()
Gets the height of the image.
Declaration
public Task<int> GetHeight()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> |
GetWidth()
Gets the width of the image.
Declaration
public Task<int> GetWidth()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Int32> |
Resize(Double, Double)
Resizes the image based on given size.
Declaration
public Task Resize(double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width | |
System.Double | height |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |