More fonts?

More fonts?

Forum member · Feb 23, 2006
I would like to use ArialRound as the font for my documents generated with this generator (actually my client requires that font). How does one get to use this font? I don't see it as an option anywhere. thx!

Re: More fonts?

Support · Feb 24, 2006
Hello, You will need to find and use ArialRound TrueType or Type1 font. Here is an excerpt from our help manual that shows how to add TrueType and Type1 fonts: Adding TrueType Fonts - [Visual Basic] // Create a TrueType font class. Dim MyTrueTypeFont As TrueTypeFont = New TrueTypeFont( "verdana.ttf" ) ' Use the TrueType font in a text area Page Element. MyPage1.Elements.Add( New TextArea( "Text", 0, 0, 200, 12, MyTrueTypeFont, 12 ) ) [C#] // Create a TrueType font class. TrueTypeFont trueTypeFont = new TrueTypeFont( "verdana.ttf" ); // Use the TrueType font in a text area Page Element. page1.Elements.Add( new TextArea( "Text", 0, 0, 200, 12, trueTypeFont, 12 ) ); Adding Type 1 Fonts - [Visual Basic] ' Create a Type 1 font. Dim MyType1Font As Type1Font = New Type1Font( "C:\Eras.pfm", "C:\Eras.pfb" ) ' Use the Type 1 font in a text area Page Element. MyPage1.Elements.Add( New TextArea( "Text", 0, 0, 200, 12, MyType1Font, 12 ) ) [C#] // Create a Type 1 font. Type1Font type1Font = new Type1Font( @"C:\Eras.pfm", @"C:\Eras.pfb" ); // Use the Type 1 font in a text area Page Element. page1.Elements.Add( new TextArea( "Text", 0, 0, 200, 12, type1Font, 12 ) ); You can read more on the Fonts and Text section of the Help Documentation. Thanks, ceTe Software Support Team