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