ResizeAnchoredCommand<T> Class

Command to resize an anchored drawing (image or chart).

Inheritance

Object

Spreadsheet.ResizeAnchoredCommand<Spreadsheet.T>

Namespace: Radzen.Blazor.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public class ResizeAnchoredCommand<T> : Spreadsheet.ICommand

Type Parameters

Name Description
TThe anchored drawing type.

Constructors

ResizeAnchoredCommand<T>link

Creates a resize command for a TwoCellAnchor drawing.

Declaration
public ResizeAnchoredCommand<T>(Spreadsheet.T drawing, Documents.Spreadsheet.CellAnchor newTo, Spreadsheet.SpreadsheetFeature feature)
Parameters
Type Name Description
Spreadsheet.T drawing
Documents.Spreadsheet.CellAnchor newTo
Spreadsheet.SpreadsheetFeature feature

ResizeAnchoredCommand<T>link

Creates a resize command for a TwoCellAnchor drawing.

Declaration
public ResizeAnchoredCommand<T>(Spreadsheet.T drawing, double newWidth, double newHeight, Spreadsheet.SpreadsheetFeature feature, Documents.Spreadsheet.CellAnchor newFrom)
Parameters
Type Name Description
Spreadsheet.T drawing
double newWidth
double newHeight
Spreadsheet.SpreadsheetFeature feature
Documents.Spreadsheet.CellAnchor newFrom

Properties

Featurelink

Declaration
public Spreadsheet.SpreadsheetFeature? Feature { get; }
Property Value
Type Description
Spreadsheet.SpreadsheetFeature?

Methods

Executelink

Declaration
public bool Execute()
Returns
Type Description
bool

Unexecutelink

Declaration
public void Unexecute()
An error has occurred. This app may no longer respond until reloaded. Reload 🗙