PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 11:17 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Thu Jul 03, 2008 3:08 pm 
Offline

Joined: Wed Jul 02, 2008 2:33 pm
Posts: 2
I have a pdf document generated from a winword 2007 document
I'm tryint to write two text with different formattings in this document

using (XGraphics gfx = XGraphics.FromPdfPage(page, XGraphicsPdfPageOptions.Append))
{
gfx.DrawString("sss", f1, XBrushes.Black, 20,20);
gfx.DrawString("jjj", f2, XBrushes.Black, 20,20);
}

if f1 is bold and f2 is any other font style, the text rendered is not displayed correcty (the text that I write is ok, but the underlying text is which is not displayed correctly)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group