PDF_AnnotationsFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_AnnotationsFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inCurPage :LONGINT;
    boundsX :REAL;
    boundsY :REAL;
    ioSnapGeom :HANDLE
) :BOOLEAN ;

Python:

def  vs.PDF_AnnotationsFromBlob(inBlobPtr, inBlobSize, inCurPage, boundsX, boundsY, ioSnapGeom):
   return BOOLEAN

Description:

Draws annotations from the PDF Blob



  PDF_CreateBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_CreateBlob
(   inFilePath :PROCEDURE;
    ioBlobPtr :PROCEDURE;
    ioBlobSize :PROCEDURE;
    ioCurPage :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_CreateBlob(inFilePath, ioBlobPtr, ioBlobSize, ioCurPage):
   return BOOLEAN

Description:

Creates a memory blob representation of a specified document and page.



  PDF_CreatePDFABlobFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_CreatePDFABlobFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inPDFAFormat :LONGINT;
    ioBlobPtr :PROCEDURE;
    ioBlobSize :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_CreatePDFABlobFromBlob(inBlobPtr, inBlobSize, inPDFAFormat, ioBlobPtr, ioBlobSize):
   return BOOLEAN

Description:

Takes Blob Data and creates a PDFA blob



  PDF_DestroyBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_DestroyBlob
( ioBlobPtr:PROCEDURE ) :BOOLEAN ;

Python:

def  vs.PDF_DestroyBlob(ioBlobPtr):
   return BOOLEAN

Description:

After Creating and Copping Blob Data call this method to release Blob memory



  PDF_DrawDCFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_DrawDCFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inCurPage :LONGINT;
    inDC :PROCEDURE;
    inDrawMatrix :PROCEDURE;
    inInvalRect :PROCEDURE;
    inCancelCB :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_DrawDCFromBlob(inBlobPtr, inBlobSize, inCurPage, inDC, inDrawMatrix, inInvalRect, inCancelCB):
   return BOOLEAN

Description:

Draws PDF DocID into passed DC



  PDF_FlushCache PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_FlushCache
:BOOLEAN ;

Python:

def  vs.PDF_FlushCache():
   return BOOLEAN

Description:

Flushes all Document Cache.



  PDF_GetNumOfAnnotations PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_GetNumOfAnnotations
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inCurPage :LONGINT
) :BOOLEAN ;

Python:

def  vs.PDF_GetNumOfAnnotations(inBlobPtr, inBlobSize, inCurPage):
   return BOOLEAN

Description:

Returns the number of the PDF annotations per PDF page



  PDF_GetPageCount PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_GetPageCount
( inFilePath:PROCEDURE ) :INTEGER ;

Python:

def  vs.PDF_GetPageCount(inFilePath):
   return INTEGER

Description:

Returns the page count of the selected document file.



  PDF_GetPageMatrixFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_GetPageMatrixFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inCurPage :LONGINT;
    inMatrix :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_GetPageMatrixFromBlob(inBlobPtr, inBlobSize, inCurPage, inMatrix):
   return BOOLEAN

Description:

Get PDF Default Matrix.



  PDF_GetPageSizeFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_GetPageSizeFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inPageBoxID :LONGINT;
    inCurPage :PROCEDURE;
    outBoxLeft :PROCEDURE;
    outBoxTop :PROCEDURE;
    outBoxRight :PROCEDURE;
    outBoxBottom :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_GetPageSizeFromBlob(inBlobPtr, inBlobSize, inPageBoxID, inCurPage, outBoxLeft, outBoxTop, outBoxRight, outBoxBottom):
   return BOOLEAN

Description:

Takes Blob Data and returns corresponding page rect



  PDF_PrintBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_PrintBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inSettings :PROCEDURE
) :BOOLEAN ;

Python:

def  vs.PDF_PrintBlob(inBlobPtr, inBlobSize, inSettings):
   return BOOLEAN

Description:

Prints a page from the PDF Blob



  PDF_SetPageImage PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_SetPageImage
( inBlobPtr:HANDLE ) :BOOLEAN ;

Python:

def  vs.PDF_SetPageImage(inBlobPtr):
   return BOOLEAN

Description:

Creates image of the passed PDF page object and attaches it into it's child



  PDF_SetProgressBar PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_SetProgressBar
(   progressPtr :PROCEDURE;
    status :BOOLEAN
) :BOOLEAN ;

Python:

def  vs.PDF_SetProgressBar(progressPtr, status):
   return BOOLEAN

Description:

Sets the progress bar from the PDF Import Menu Command



  PDF_SnapGeomFromBlob PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_SnapGeomFromBlob
(   inBlobPtr :PROCEDURE;
    inBlobSize :LONGINT;
    inCurPage :LONGINT;
    boundsX :REAL;
    boundsY :REAL;
    ioSnapGeom :HANDLE
) :BOOLEAN ;

Python:

def  vs.PDF_SnapGeomFromBlob(inBlobPtr, inBlobSize, inCurPage, boundsX, boundsY, ioSnapGeom):
   return BOOLEAN

Description:

Collects vector graphic into ioSnapGeom from the PDF Blob



  PDF_VerifyLibrary PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_VerifyLibrary
:BOOLEAN ;

Python:

def  vs.PDF_VerifyLibrary():
   return BOOLEAN

Description:

Verifies the library is avaiable and loaded.