GetObjectPathStreamLength

文書プロパティ、抽出

説明

オブジェクトパスで選択されたストリームのデコード後バイト長を返します

構文

Delphi

Function GetObjectPathStreamLength(Const Path: WideString): Int64;

ActiveX

Function PDFlib::GetObjectPathStreamLength(Path As String) As Long

DLL

int DLGetObjectPathStreamLength(int InstanceID, const wchar_t* Path);
int DLGetObjectPathStreamLengthA(int InstanceID, const char* Path);

パラメータ

Pathデコード後のバイト長を照会するストリームを選択するオブジェクトパスです。

戻り値

デコード後のバイト数。パスがストリームを選ばない場合は -1

備考

GetObjectPathStream を呼ぶ前のバッファサイズ決めに便利です

関連項目

GetObjectPathStream, GetObjectByPathCount