AddPRCAnnotationFromString

3D, annotations, memory input, DLL, ActiveX

תיאור

Embeds binary PRC model data from memory as a PDF 2.0 3D annotation

תחביר

Delphi

Function TPDFlib.AddPRCAnnotationFromString(Left, Top, Width, Height: Double; Const Source: AnsiString; Const Title, ViewName: WideString; Activation: TPDFlibRichMediaActivation; Deactivation: TPDFlibRichMediaDeactivation; Options: Integer): Integer;

DLL

int DLAddPRCAnnotationFromString(int InstanceID, double Left, double Top, double Width, double Height, const char *Source, int SourceLength, const wchar_t *Title, const wchar_t *ViewName, int Activation, int Deactivation, int Options);

ActiveX

Function PDFlib::AddPRCAnnotationFromString(Left As Double, Top As Double, Width As Double, Height As Double, Source As Variant, Title As String, ViewName As String, Activation As Long, Deactivation As Long, Options As Long) As Long

פרמטרים

SourceNon-empty binary PRC data; ActiveX accepts a byte array and DLL clients pass an explicit byte count
Title, ViewNameNon-empty accessible title and default view name
Other parametersהשתמשו בסמנטיקת הגיאומטריה ומחזור-החיים המתוארות ב-AddPRCAnnotationFromFile

ערכי החזרה

מחזירה 1 במקרה של הצלחה, או 0 כאשר האימות נכשל