SetEmbeddedFileStrProperty
문서 속성
설명
지정한 임베드된 파일의 속성을 설정합니다.
구문
Delphi
Function TPDFlib.SetEmbeddedFileStrProperty(Index, Tag: Integer; NewValue: WideString): Integer;
ActiveX
Function PDFlib::SetEmbeddedFileStrProperty(Index As Long, Tag As Long, NewValue As String) As Long
DLL
int DLSetEmbeddedFileStrProperty(int InstanceID, int Index, int Tag, const wchar_t* NewValue);
int DLSetEmbeddedFileStrPropertyA(int InstanceID, int Index, int Tag, const char* NewValue);
매개변수
| Index | 임베드된 파일의 인덱스입니다. 1부터 EmbeddedFileCount가 반환한 값 사이여야 합니다 |
|---|---|
| Tag | 1 = 파일 이름 2 = MIME 타입 3 = 만든 날짜 4 = 수정한 날짜 5 = 제목 7 = 설명 |
| NewValue | 지정한 속성의 새 값입니다. |
반환 값
속성을 설정했으면 1을 반환합니다. Index가 임베드된 파일을 가리키지 않거나 Tag가 유효한 속성 식별자가 아니면 0을 반환합니다.