ContentTypeTarget Property

If it's a default content type, this will be the file extension it applies to.

Syntax

ANSI (Cross Platform)
char* GetContentTypeTarget(int iContentTypeIndex);

Unicode (Windows)
LPWSTR GetContentTypeTarget(INT iContentTypeIndex);
- (NSString*)contentTypeTarget:(int)contentTypeIndex;
#define PID_OFFICEDOC_CONTENTTYPETARGET 4

IPWORKSZIP_EXTERNAL void* IPWORKSZIP_CALL IPWorksZip_OfficeDoc_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSZIP_EXTERNAL int IPWORKSZIP_CALL IPWorksZip_OfficeDoc_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

If it's a default content type, this will be the file extension it applies to. Otherwise, it will be the part name.

The ContentTypeIndex parameter specifies the index of the item in the array. The size of the array is controlled by the ContentTypeCount property.

This property is read-only and not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks ZIP 2020 C++ Edition - Version 20.0 [Build 8300]