PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() ![]() ![]() Collapse AllYou can use any available drawing primitives in your PDF files by folowing steps: 1. Select your preferred color and line weight for drawing. Delphi : PDF.SetColorStroke(0,0,0,0); { black color }
PDF.SetLineWidth(1);
Visual Basic or Visual Basic Script : PDF.SetColorStroke 0,0,0,0 // black color PDF.SetLineWidth 1 C/C++ : PDF->SetColorStroke(0,0,0,0); // black color PDF->SetLineWidth(1); C# : PDF.SetColorStroke(0,0,0,0); // black color PDF.SetLineWidth(1); 2. Set the draw object. Delphi : PDF.DrawEllipse(60, 70, 140, 130);
{ or }
PDF.DrawRectangle(10, 10, 40, 20);
Visual Basic or Visual Basic Script : PDF.DrawEllipse 60, 70, 140, 130 'or PDF.DrawRectangle 10, 10, 40, 20 C/C++ : PDF->DrawEllipse(60, 70, 140, 130); //or PDF->DrawRectangle(10, 10, 40, 20); C# : PDF.DrawEllipse(60, 70, 140, 130); //or PDF.DrawRectangle(10, 10, 40, 20); 3. Stroke and/or fill the draw path: Delphi : PDF.Stroke;
{ or }
PDF.Fill;
{ or }
PDF.FillAndStroke;
Visual Basic or Visual Basic Script : PDF.Stroke 'or PDF.Fill 'or PDF.FillAndStroke C/C++ : PDF->Stroke(); //or PDF->Fill(); //or PDF->FillAndStroke(); C# : PDF.Stroke(); //or PDF.Fill(); //or PDF.FillAndStroke(); For more information, see Graphics methods.
|



