|
THotPDF.CreateParagraph
|
Haut Précédent Suivant |
|
Creates new paragraph for PDF document.
Syntaxe Delphi : function CreateParagraph ( Indention: Single; Justification: THPDFJustificationType; LeftMargin, RightMargin: Single ): Integer;
Syntaxe C++ : int __fastcall CreateParagraph(float Indention, THPDFJustificationType Justification, float LeftMargin, float RightMargin, float TopMargin, float BottomMargin);
Description Appelez la fonction CreateParagraph pour ajouter un nouveau paragraphe au document PDF. Indention, LeftMargin et RightMargin déterminent les réglages du paragraphe ( voir l’image ci-dessous ), Justification détermine la justification par défaut du paragraphe. La fonction CreateParagraph renvoie le numéro interne du nouveau paragraphe.
Exemple de code
Voir aussi: BeginParagraph, EndParagraph, ParaAutoAddPage
|