PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index PDFsharp - moved to http://forum.pdfsharp.net/
Please visit the new PDFsharp forum at http://forum.pdfsharp.net/
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Barcode using MigraDoc

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/
View previous topic :: View next topic  
Author Message
aknuth



Joined: 23 Mar 2007
Posts: 16
Location: Berlin

PostPosted: Fri Mar 23, 2007 11:41 pm    Post subject: Barcode using MigraDoc Reply with quote

I saw that the Barcode rendering is still under construction. However I'd like to use it and as there are no samples around I guess that it's not working yet.

Here is what I tried:
Code:

Barcode b = document.Sections[0].Elements.AddBarcode();
b.Top = "10mm";
b.Left = "10mm";
b.Code = "TEST";
b.Type = BarcodeType.Barcode128;
b.Width = "3cm";
b.Height = "1cm";
b.FillFormat.Color = Colors.Black;
b.FillFormat.Visible = true;
b.BearerBars = true;
b.LineHeight = 10;
b.LineRatio = 2;


Regards,
André

and keep up the good work, looks like finally there is a well designed alternative to pdflib.
Back to top
View user's profile Send private message Visit poster's website
aknuth



Joined: 23 Mar 2007
Posts: 16
Location: Berlin

PostPosted: Sat Mar 24, 2007 3:41 pm    Post subject: Re: Barcode using MigraDoc Reply with quote

I took a look at the MigraDoc.Rendering.Renderer.Create method. And there are no BarcodeRenderer yet. Is it possible to create an in-memory image using XGraphicsLab and import it in migradoc?

aknuth wrote:
I saw that the Barcode rendering is still under construction. However I'd like to use it and as there are no samples around I guess that it's not working yet.

Here is what I tried:
Code:

Barcode b = document.Sections[0].Elements.AddBarcode();
b.Top = "10mm";
b.Left = "10mm";
b.Code = "TEST";
b.Type = BarcodeType.Barcode128;
b.Width = "3cm";
b.Height = "1cm";
b.FillFormat.Color = Colors.Black;
b.FillFormat.Visible = true;
b.BearerBars = true;
b.LineHeight = 10;
b.LineRatio = 2;


Regards,
André

and keep up the good work, looks like finally there is a well designed alternative to pdflib.
Back to top
View user's profile Send private message Visit poster's website
aknuth



Joined: 23 Mar 2007
Posts: 16
Location: Berlin

PostPosted: Sat Mar 24, 2007 4:34 pm    Post subject: Re: Barcode using MigraDoc Reply with quote

Wrote my own BarcodeRenderer class for migradoc. Anyone who is interested please PM me.

aknuth wrote:
I took a look at the MigraDoc.Rendering.Renderer.Create method. And there are no BarcodeRenderer yet. Is it possible to create an in-memory image using XGraphicsLab and import it in migradoc?

aknuth wrote:
I saw that the Barcode rendering is still under construction. However I'd like to use it and as there are no samples around I guess that it's not working yet.

Here is what I tried:
Code:

Barcode b = document.Sections[0].Elements.AddBarcode();
b.Top = "10mm";
b.Left = "10mm";
b.Code = "TEST";
b.Type = BarcodeType.Barcode128;
b.Width = "3cm";
b.Height = "1cm";
b.FillFormat.Color = Colors.Black;
b.FillFormat.Visible = true;
b.BearerBars = true;
b.LineHeight = 10;
b.LineRatio = 2;


Regards,
André

and keep up the good work, looks like finally there is a well designed alternative to pdflib.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    PDFsharp - moved to http://forum.pdfsharp.net/ Forum Index -> Support - moved to http://forum.pdfsharp.net/ All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © phpBB Group. Hosted by phpBB.BizHat.com


Start Your Own YouTube Clone

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!
For Support, visit Forums.BizHat.com