#1 Re: PDF Engine » SynPdf library 1.18 » 2025-11-07 14:51:49

Is SynPdf  compatible with Delphi 12 ? and Where is a Demo example smile       ?


I should convert a basic HTML to PDF (Datasnap server).


I have found this, for load a basic html ?



  with TGDIPages.Create(self) do
  try

 

    BeginDoc;
    MF := TMetafile.Create;
    MF.LoadFromFile('xxxxxxxxxxxxxxxxxxxxxxxx.emf');
    DrawGraphic(MF,0,PaperSize.cx-20);
{    for y := 0 to 4 do
    begin

      DrawTitle(edt1.Text, true);
      for i := 1 to 10 do
        DrawText('This is some text ' + IntToStr(i));
      NewLine;

      TestImage := TBitmap.Create;
      try
        TestImage.Width := 500;
        TestImage.Height := 500;

        TestImage.Canvas.Pen.Color := clRed;
        TestImage.Canvas.MoveTo(0, y * 80);
        TestImage.Canvas.LineTo(TestImage.Width, y * 80);

        DrawBMP(TestImage, maxInt, RightMarginPos);
      finally
        TestImage.Free;
      end;

      NewPage;
    end;}

    EndDoc;
    ForceInternalAntiAliased := true;
    ForceInternalAntiAliasedFontFallBack := true;
    ExportPDFGeneratePDF15File := true;
    ExportPDFUseUniscribe := true;
    ShowPreviewForm;
    //ExportPDF('test.pdf', true, true);
  finally
    Free;
  end;

#2 Re: mORMot 2 » mORMot 2 support Delphi Mobile compiler ? » 2025-06-17 08:29:01

I'm sorry to read this, is it a deliberate choice or a temporary phase to update?

a project without Delphi Mobile support, it is not a project sad  , or hint to use :  TNetHTTPClient ?

#3 mORMot 2 » mORMot 2 support Delphi Mobile compiler ? » 2025-06-11 12:08:13

mauro.botta
Replies: 11

Hi

Can i to use mORMot 2 with Delphi 12 compiling for Android64 and iOS64  ( Client class: TRestHttpClientWebsockets  / TRestHttpClientWinHttp )   ?

On WIndows Server use : TRestServerFullMemory.

Mauro




(********************** Delphi Conditionals **********************)

  {$ifndef MSWINDOWS}
  'Kylix or Delphi for MacOS/Linux/Mobile are unsupported'
  '-> we recommend using FPC for POSIX platforms'
  {$endif MSWINDOWS}

#4 mORMot 2 » Converting from DataSnap + TFDQuery » 2025-06-10 08:45:10

mauro.botta
Replies: 1

Hi

I have a big Mobile DataSnap Application and a big Windows server DataSnap application.  I should convert ( add Support for mORMot  ) , but i want reuse the TDSServerModule Form with all TFDQuery and all codes.

I need only HTTP Server of mORMot , i wan't use ORM.

I see Example dir, but TFDQuery example are not available.  Hint ?

Delphi 12.3

Thank You

Mauro

Board footer

Powered by FluxBB