Jump to content

Woutero

uniGUI Subscriber
  • Posts

    100
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Woutero's Achievements

Active Member

Active Member (3/4)

9

Reputation

  1. Sherzod I'm using a UniCanvas but the very first time I draw something on it, its starts off being black even though the Brush Color is clWhite? The following code always show a black Canvas the very first time its used. When the code is executed a second time thereafter the background is white as it should be. UniCanvas1.Clear; UniCanvas1.Brush.Color:=clWhite; UniCanvas1.MoveTo(X1, Y1); UniCanvas1.LineTo(X2, Y2); If I just execute the first two lines once: UniCanvas1.Clear; UniCanvas1.Brush.Color:=clWhite; I end up with a black canvas. The UniCanvas sits on a UniPanel. I'm using UniGUI Complete Professional V1.90.0.1560 Another question: Is there any way to display Text on a UniCanvas?
  2. So to summarize: All I want to do is to save a portion of the screen (e.g. a UniPanel containing UniChart etc.) to a file or stream.
  3. Sherzod I just did a test to draw something via UniCanvas.BitmapCanvas.Rectangle(10, 10, 100, 100); and then the UniCanvas1.SaveToFile(fName,tiBMP); work correctly, so that has been resolved. But I still want to save a portion of the screen (whatever components are on the Canvas, e.g. UniPanel with UniChart etc.) to a file or stream. Can this be done using a UniCanvas or can one only draw to the UniCanvas?
  4. I'm not drawing anything on the UniCanvas. I have inserted a UniChart on the UniCanvas. I am using UniCanvas1.SubmitData but maybe the UniCanvas has not received the data of the UniChart? So what setting must I use on the UniCanvas to make sure the UniCanvas has received the data of all components/controls on the UniCanvas? Or how does one transfer/save the image of components on the UniCanvas, or is this not possible?
  5. Sherzod Within UniCanvas1AfterSubmit I'm trying to use UniCanvas1.SaveToFile(fName,tiBMP); But the file being saved is always zero bytes. Has this been resolved? This problem has been reported previously:
  6. Also, when using Image.SaveToStream() within procedure TMainForm.UniChart1ChartImage(Sender: TUniCustomChart; Image: TGraphic); what is the default image type, or how does one set it?
  7. Sherzod When using Image.SaveToFile(FileName), how does one set the file type? For example, if I want to use a jpg, how do I set JPG, or does UniGUI automatically look at the extension of the FileName?
  8. Irigsoft So when one select, Print to PDF via the Delphi PrintDialog (see below), where is the PDF file saved? Or rather, how can I set the folder where the PDF is saved?
  9. Thanks for the tip Irigsoft!
  10. Hi Sherzod Can you or anyone else recommend a PDF library/component that works well with UniGUI? I would like to export some graphs from a UniChart to a pdf.
  11. Sherzod I am able to trigger the UniChart1ChartImage event on demand by using a UniTimer set to RunOnce. Every time I update a chart, I enable this Timer which then calls UniChart.SaveImage which then triggers the ChartImage event.
×
×
  • Create New...