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メモリ領域から注釈を描画します。



  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

説明

メモリ領域からPDFA形式の領域を確保します



  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 DocID を渡された DC へ描く



  PDF_FlushCache PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_FlushCache
:BOOLEAN ;

Python:

def  vs.PDF_FlushCache():
   return BOOLEAN

Description:

Flushes all Document Cache.

説明

全てのドキュメントキャッシュ(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のページにあるPDF注釈の数を返します。



  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のデフォルトマトリックスを取得します。



  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メモリ領域からページを印刷します。



  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ページオブジェクトから、イメージを作成し、子の中に入れます。



  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取り込みメニューコマンドのプログレスバーを設定します。



  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メモリ領域からベクトルグラフィックをioSnapGeomに収集します。



  PDF_ThreadDeInitialize PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_ThreadDeInitialize
:BOOLEAN ;

Python:

def  vs.PDF_ThreadDeInitialize():
   return BOOLEAN

Description:

When the thread completes clean up library usage

説明

スレッドが終了したときライブラリを初期化します。



  PDF_ThreadInitialize PDF 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   PDF_ThreadInitialize
:BOOLEAN ;

Python:

def  vs.PDF_ThreadInitialize():
   return BOOLEAN

Description:

The library needs to be Initialized per thread

説明

ライブラリはスレッドごとに初期化する必要があります。



  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.

説明

ライブラリが準備されロードされていることを確認します。