你能用itextsharp c#设置字体中字母之间的距离吗
Can you set the distance between letter in a font with itextsharp c#
你可以设置iTextsharp字体中两个字母之间的距离吗?我需要填写一个像 pdf 这样的表格,其中包含我的文本需要去的地方?
您可以尝试以下方法:
private Chunk GetChunk(string text)
{
Chunk chunk = new Chunk(text);
chunk.SetCharacterSpacing(YourSpacingHere);
return chunk;
}
如果这不符合您的需要,请提供一些代码
你可以设置iTextsharp字体中两个字母之间的距离吗?我需要填写一个像 pdf 这样的表格,其中包含我的文本需要去的地方?
您可以尝试以下方法:
private Chunk GetChunk(string text)
{
Chunk chunk = new Chunk(text);
chunk.SetCharacterSpacing(YourSpacingHere);
return chunk;
}
如果这不符合您的需要,请提供一些代码