Free Support Forum - aspose.com

Fix 1.3.1.0 Released!

Dear customers,

Fix 1.3.1.0 Released!

1. Fixed: font issue reported by Jens Marberg.

2. Fixed: multiple segments issue reported by Pete.

3. Added: char mapping for Symbol, ZapfDingbats fonts, which can be used to produce custom bullets, requested by Jens Marberg. Please consult Symbol.pdf and ZapfDingbats.pdf. Also please consult the examples below.

[Visual Basic]

Dim pdf As Pdf = New Pdf()
Dim sec As Section = New Section(pdf)

pdf.Sections.Add(sec)

Dim text1 As Text = New Text(sec)
sec.Paragraphs.Add(text1)
Dim s1 As Segment = New Segment(text1)
Dim letter As Char = Microsoft.VisualBasic.ChrW(183)
s1.Content = letter
s1.TextInfo.FontName = “Symbol”
text1.Segments.Add(s1)
Dim s2 As Segment = New Segment(text1)
s2.Content = " Industrial automation"
text1.Segments.Add(s2)

pdf.Save(Response)
Response.End()



[C#]
Pdf pdf = new Pdf();
Section sec = new Section(pdf);

pdf.Sections.Add(sec);

Text text1 = new Text(sec);
sec.Paragraphs.Add(text1);
Segment s1 = new Segment(text1);
s1.Content = ((char)183).ToString();
s1.TextInfo.FontName = “Symbol”;
text1.Segments.Add(s1);
Segment s2 = new Segment(text1);
s2.Content = " Industrial automation";
text1.Segments.Add(s2);

pdf.Save(Response);
Response.End();



[XML]
<?xml version="1.0" encoding="utf-8" ?>



·
Industrial automation