We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

FormattedText and EncodingType


I am testing the Stamp feature of PDF.Kit. I tried to put some Unicode characters as stamp.

this line is copy from the sample codes "stamp.aspx.cs"


aStamp.BindLogo(new FormattedText(TextBox1.Text,new FontColor(180,0,0),FontStyle.TimesItalic,EncodingType.Winansi,false,fontsize));


I tried to change "EncodingType.Winansi" to "EncodingType.Identity_h", but got a run-time error(not a compiling error)

"Identity_h" is not a supported Encoding Type

what should I do to fix this problem?

PDF.Kit V.

The problem is reproduced on my machine.

I will respond you soon after investigation.

Is there any alternative method to do the same thing?(put Unicode character string as a stamp)


You can use EncodingType.Cp1252 or EncodingType.Winansi first.

Best Regards.