Free Support Forum -

Merge Field Fonts

I am using a DocumentBuilder to change a font to Wingdings. Unforunately, it adds a lot of time doing a database lookup to determine if this is necessary. I do thousands of the lookups. So the Aspose code is fast, just no the data access. I am doing something like this:

Dim docBuilder As DocumentBuilder = New DocumentBuilder(e.Document)


docBuilder.Font.Name = "Wingdings"


I do know ahead of time when I put a merge field into a document that it will be a wingdings font, but if I make the field wingdings, the template looks pretty stupid because the whole field is in wingdings. Is there some kind of switch I can put on a merge field, or some way to designate that it should be the wingdings font without having to highlight the WHOLE field and make it wingdings?



Thanks for your request. I think that you can use \*Charformat switch. See the following link.

Also see the following link

Best regards.