Class ExcelTextSettings
This class contains settings for text measurement.
Inheritance
System.Object
ExcelTextSettings
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelTextSettings
Properties
AutofitScaleFactor
All measurements of texts will be multiplied with this value. Default is 1.
Declaration
public float AutofitScaleFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
FallbackTextMeasurer
If the primary text measurer fails to measure the text, this one will be used.
Declaration
public ITextMeasurer FallbackTextMeasurer { get; set; }
Property Value
Type | Description |
---|---|
OfficeOpenXml.Interfaces.Drawing.Text.ITextMeasurer |
GenericTextMeasurer
Returns an instance of the internal generic text measurer
Declaration
public ITextMeasurer GenericTextMeasurer { get; }
Property Value
Type | Description |
---|---|
OfficeOpenXml.Interfaces.Drawing.Text.ITextMeasurer |
PrimaryTextMeasurer
This is the primary text measurer
Declaration
public ITextMeasurer PrimaryTextMeasurer { get; set; }
Property Value
Type | Description |
---|---|
OfficeOpenXml.Interfaces.Drawing.Text.ITextMeasurer |