Click or drag to resize
ReaderWmfProcessCharacterSpacing Property
Gets or sets a Boolean that specifies if character spacing data from metafile is used to resize text when needed. Default value is true.

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

Property Value

Type: Boolean
Remarks

Some metafiles can define custom character spacing data (width of each character in text) that is used to exactly position each character in text.

TextBlock in WPF does not provide such functionality. To achieve similar results a ScaleTransform can be applied to TextBlock to scale the text according to character spacing data.

Sometimes this can lead to some undesired effects. If this happens first check if the fonts that are used by the texts in metafile are installed on the system. If this does not help set ProcessCharacterSpacing to false to skip processing character spacing.

See Also