Jump to content
Alberto Fornés

PLABEL VCL Labelling, FlowChart and Technical Drawing editor

Recommended Posts

Posted (edited)

Version 3.0 of the PLABEL VCL components has been released, this is a version written from scratch and using the Skia library to render graphics. The previous version was used to add a label editor to our applications: text, paragraph, images, barcodes, etc. In this new version, the possibility of editing flowcharts and technical drawings (layers, dimension measurement, operations with lines, scale, etc.) has been added. Drawings can be printed or saved as pdf, png, jpeg, gif or svg. Saving as SVG can be interesting for web projects, or if you need to show technical drawings in documents such as quotes and orders. At https://www.mesurasoft.com/Plabel/Gallery , you can see several examples of created documents, some of them as SVG.

 

  • The appearance and functionality of the property inspector has been changed, now it is better organized and more compact.
  • inspect_polyline.png.f195e0087b3126fded8ebee1643d5aef.png
  • In labelling mode you can rotate left or right the label.
  • rotate.gif.5ee9d1d0f6116e392b53e66958b8b878.gif
  • Link label elements to data: TDataset descendant, csv or json.
  • Table element to print records from detail tables.
  • Inplace editing text, align positions vertical and horizontal. Set background rounded rectangle.
  • text.png.1ad40f5316467ff4850fdde34c49315e.png
  • Symbols can be created by code and saved in categories and libraries, to then be inserted in a certain position, scale and angle of rotation. Symbols can have one or more connection points, to link to other elements in the drawing. You can organize the elements of the drawing in layers, which you can hide or print as needed.
  • sel_symbol.thumb.png.8c7e68310404c324ee589fea5dbc155d.png
  • You can add dimensions and measurements to the drawing, their appearance can be modified using dimension styles.
  • dimension_style.thumb.png.1fe263735a60b9c63c61d0c20bc46311.png
  • In technical drawings, apart from the units, you can define a scale greater than one, which will be taken into account when placing the dimensions and measurements
  • drawing_03.png.4fb1b0550f8e0e948e532b1654d10368.png
  • New elements: nutriscore display, level, rank, show box sizes
  • new_elements.gif.14759d113a063f741a47ec8e185abd07.gifdraw_package.png


At https://www.mesurasoft.com/Plabel you can find downloadable demos of the three editors: labels, flowcharts and technical drawings, an example of generating a dynamic SVG from a browser with webbroker, as well as a pdf document where the editor's functionalities are explained for the end user.

 

Here https://www.youtube.com/@MESURASOFT are some videos showing funcionalities

 

It is available in versions Delphi 10 (Seattle) to Delphi 12.0 (Athens)

 

Previous users who purchased the PLABEL VCL 2.8 license of the components have a special access price to this version. There is a 20% discount coupon [ PLABEL ] until September 4.

labelling.png

draw_dim.png

flowchart_01.png

kitchen.png

Edited by Alberto Fornés
Error with Delphi version
  • Like 5

Share this post


Link to post

Nice component, are there plans to support FMX too?

Share this post


Link to post
46 minutes ago, Rollo62 said:

Nice component, are there plans to support FMX too?

Yes, next week I will start with the version for FMX, the RTL base and the drawing with Skia is the same, the changes are the writing of the editor component.

  • Like 1

Share this post


Link to post

If anyone has tried to download and got an error, I have reviewed the link for the Labelling demo program and reviewed the installer for the SVG label generation program.

Share this post


Link to post

I ordered it because I have lots of ideas how to use it (especially the technical drawings) to augment our software. 🙂

Let's see how this goes. If nothing else our customers will be able to create nice labels 😉

  • Like 1

Share this post


Link to post

I still enjoying trying out the components and have some first ideas but not enough time.

But I have a few questions: 

  • The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi.
  • You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something?
  • I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something?
  • I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet?

 

Share this post


Link to post
24 minutes ago, omnibrain said:

I still enjoying trying out the components and have some first ideas but not enough time.

But I have a few questions: 

  • The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi.
  • You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something?
  • I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something?
  • I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet?

 

 Hello Omnibrain, about your questions:

 

1.- The Demos seem to be a bit messed up pathwise. Difficult to describe, I think it's best if you do a clean install and open a Demo in Delphi yourself and then start it from within Delphi.

 

I will check it, path installation is different from development and maybe something is broken.

 

2.- You have SaveSVG and ExportDoc procedures. Both save to files. Is there a reason there is no option to save to a stream to continue processing the generated label directly in a program? Or am I overlooking something?

 

Yes, there are to methods to save and load from a stream: 

    procedure TMPLabel.SaveToStream(aStream: TStream);
    procedure TMPLabel.LoadFromStream(aStream: TStream);

3.- I managed to hide almost all control elements of the editor component. But not the scrollbars. Am I overlooking something?

 

Scrollbars are enabled or disabled depending of label dimensions and zoom. No option to hide it. Maybe I add in next update, something like fitToAll and disabled zoom option.

 

4.- I see that you can use a CSV file or JSON as Data Source. But is it also possible to use a TDataSet?

Yes you can assign any descendent from TDataSet, See TMPLabel.Data.DataSets from object inspector.

 

 

I'm working in a new release fixing some bugs and adding new features. Also in a version with FMX library.

Share this post


Link to post
1 minute ago, Alberto Fornés said:

Yes, there are to methods to save and load from a stream: 


    procedure TMPLabel.SaveToStream(aStream: TStream);
    procedure TMPLabel.LoadFromStream(aStream: TStream);

 

As far as I understand it they are for the label itself. I‘m interested in further „processing“ the SVG or a PNG. 

Share this post


Link to post
1 minute ago, omnibrain said:

As far as I understand it they are for the label itself. I‘m interested in further „processing“ the SVG or a PNG. 

Ok, I understand your requirement, I will add in next release.

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×