THPDFPage.AddTextAnnotation

THPDFPage

 

بالا  قبلی  بعدی

یک Text annotation جدید به صفحه جاری اضافه می‌کند

 

نوع

     THPDFTextAnnotationType = ( taComment, taKey, taNote, taHelp, taNewParagraph, taParagraph, taInsert );

 

نحو Delphi:

procedure AddTextAnnotation ( Contents: AnsiString; Rectangle: TRect; Open: boolean; Name: THPDFTextAnnotationType; Color: TColor = clRed );

 

نحو C++:

void __fastcall AddTextAnnotation ( AnsiString Contents, Windows::TRect &Rectangle, bool Open, THPDFTextAnnotationType Name, Graphics::TColor Color );

 

توضیح

از AddTextAnnotation برای افزودن یک Text annotation جدید با پیام متنی مشخص ( Contents)، ناحیه مستطیلی (Rectangle)، نمای آیکون (Name) و رنگ روی صفحه جاری استفاده کنید. مقدار Open را true قرار دهید تا annotation باز شود یا false قرار دهید تا بسته شود

 

مقدار                          معنی


taComment                نظر

taKey                         کلید

taNote                        یادداشت

taHelp                        راهنما

taNewParagraph         پاراگراف جدید

taParagraph               پاراگراف

taInsert                      درج

 

 

Text annotation preview