Click or drag to resize
ReaderWmfDisableTextScaling Property
Gets or sets a Boolean that specifies if text scaling is disabled. Default value is false.

Namespace: Ab2d
Assembly: Ab2d.ReaderWmf (in Ab2d.ReaderWmf.dll) Version: 7.1.5512.1040
Syntax
C#
public bool DisableTextScaling { get; set; }

Property Value

Type: Boolean
Remarks

The size of the text in metafile is defined by specifying font size and a bounding box. To get the final size of the text in WPf, ReaderWmf measures the text with the specified font size and than add ScaleTransform to scale the text to match the bounding box.

Sometimes scaling can lead to some undesired effects (for example when charter spacing information contain very large spaces). This can be prevented by disabling the text scaling with setting DisableTextScaling to true.

See Also