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を返します。