Skip to content

Class ExcelTextSettings

Namespace: OfficeOpenXml
Assembly: EPPlus.dll

This class contains settings for text measurement.

public class ExcelTextSettings

Inheritance

object ← ExcelTextSettings

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

AutofitScaleFactor

All measurements of texts will be multiplied with this value. Default is 1.

public float AutofitScaleFactor { get; set; }

Property Value

float

FallbackTextMeasurer

If the primary text measurer fails to measure the text, this one will be used.

public ITextMeasurer FallbackTextMeasurer { get; set; }

Property Value

ITextMeasurer

GenericTextMeasurer

Returns an instance of the internal generic text measurer

public ITextMeasurer GenericTextMeasurer { get; }

Property Value

ITextMeasurer

PrimaryTextMeasurer

This is the primary text measurer

public ITextMeasurer PrimaryTextMeasurer { get; set; }

Property Value

ITextMeasurer