FormattedText and EncodingType

Hi,

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.2.1.3.0

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)

Thanks

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

Best Regards.