System.Windows.Forms.RichTextBox.ZoomFactor Property

Gets or sets the current zoom level of the System.Windows.Forms.RichTextBox.

Syntax

[System.ComponentModel.DefaultValue(1)]
[System.ComponentModel.Localizable(true)]
public float ZoomFactor { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of this property can be between 1/64 (0.015625) and 64.0, not inclusive. A value of 1.0 indicates that no zoom is applied to the control. The zoom feature performs optimally when the document contains TrueType fonts. When a font that is not TrueType is used within the document of the control, the RichTextBox.ZoomFactor property will use the nearest whole number value. You can use this property to enable the user of the System.Windows.Forms.RichTextBox control to zoom into sections of the documentation that are too small to view or to condense the view to enable more of the document to be viewed on screen.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0