AddPRCAnnotationFromFile
3D, הערות, מסמכים הנדסיים, PDF 2.0
תיאור
מטמיעה מודל PRC מקובץ כהערת תלת-ממד הניתנת להדפסה בדף הנוכחי
תחביר
Delphi
Function TPDFlib.AddPRCAnnotationFromFile(Left, Top, Width, Height: Double; Const FileName, Title, ViewName: WideString; Activation: TPDFlibRichMediaActivation; Deactivation: TPDFlibRichMediaDeactivation; Options: Integer): Integer;DLL
int DLAddPRCAnnotationFromFile(int InstanceID, double Left, double Top, double Width, double Height, const wchar_t *FileName, const wchar_t *Title, const wchar_t *ViewName, int Activation, int Deactivation, int Options);ActiveX
Function PDFlib::AddPRCAnnotationFromFile(Left As Double, Top As Double, Width As Double, Height As Double, FileName As String, Title As String, ViewName As String, Activation As Long, Deactivation As Long, Options As Long) As Longפרמטרים
| Left, Top | מיקום הפינה השמאלית העליונה של מלבן ההערה |
|---|---|
| Width, Height | Positive dimensions of the annotation rectangle |
| FileName | נתיב למודל PRC שאינו ריק |
| Title | Accessible annotation description |
| ViewName | Name of the default 3D view |
| Activation | rmaExplicit, rmaPageOpened, or rmaPageVisible |
| Deactivation | rmdExplicit, rmdPageClosed, or rmdPageInvisible |
| Options | 0 מסתיר את יצירת ה-3D בהתחלה ו-1 מציג אותה בהתחלה |
ערכי החזרה
Returns 1 on success or 0 on invalid input or an unreadable file
הערות
השיטה מקדמת פלט רגיל ל-PDF 2.0 ותומכת ב-PDF/A-4e, אך דוחה פרופילי PDF/A אחרים
הגרף שנוצר כולל את זרם הנתונים של ה-PRC, תצוגת ברירת מחדל בעלת שם, הגדרות הפעלה וביטול הפעלה, דגלי הדפסה ומראה רגיל
ראה גם
פונקציות קשורות: AddPRCAnnotationFromStream, AddPRCAnnotationFromString, AddU3DAnnotationFromFile