VintaSoft PDF .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft PDF .NET Plug-in Discussions
I tried setting the font in the text box control to match the font in the annotation.Please send us (to support@vintasoft.com) a small project, which allows to reproduce the problem. We need to reproduce the problem on our side.
I am still seeing the same issue with the text moving around in the text box and premature wrapping.
// if annotation font does NOT have linked font in temporary PDF document
if (!_annotationFontToTempFont.TryGetValue(annotation.Font, out _currentFont))
{
// create copy of annotation font in temporary PDF document
_currentFont = annotation.Font.CreateCopy(_tempDocument);
// save link between annotation font and font in temporary PDF document
_annotationFontToTempFont.Add(annotation.Font, _currentFont);
}
e.TextBox.Font = new Font("Times New Roman", annotation.FontSize);
Thanks