Back to Devexpress

DxRichEdit.ZoomLevel Property

blazor-devexpress-dot-blazor-dot-richedit-dot-dxrichedit-1fbe311f.md

latest1.3 KB
Original Source

DxRichEdit.ZoomLevel Property

Specifies the document’s zoom level.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
[DefaultValue(1)]
[Parameter]
public double ZoomLevel { get; set; }

Property Value

TypeDefaultDescription
Double1

The zoom level as a percentage in the range from 0.5 to 2.0.

|

Remarks

Our Blazor Rich Text Editor allows you to zoom in and out of documents both in UI and code. Users can change the document’s zoom level in the corresponding drop-down menu in the View ribbon tab.

In code, you can use the ZoomLevel property to zoom the document. This property accepts values in the range from 0.5 to 2.0 that corresponds to 50% and 200% respectively.

razor
<DxRichEdit ZoomLevel="0.7" />

See Also

DxRichEdit Class

DxRichEdit Members

DevExpress.Blazor.RichEdit Namespace