IPWorks Cloud 2020 C++ Edition

Questions / Feedback?

LinkIsViewOnly Property

If the share items can only be viewed.

Syntax

ANSI (Cross Platform)
int GetLinkIsViewOnly(int iLinkIndex);
int SetLinkIsViewOnly(int iLinkIndex, int bLinkIsViewOnly); Unicode (Windows) BOOL GetLinkIsViewOnly(INT iLinkIndex);
INT SetLinkIsViewOnly(INT iLinkIndex, BOOL bLinkIsViewOnly);
- (BOOL)linkIsViewOnly:(int)linkIndex;
- (void)setLinkIsViewOnly:(int)linkIndex:(BOOL)newLinkIsViewOnly;
#define PID_SHAREFILE_LINKISVIEWONLY 51

IPWORKSCLOUD_EXTERNAL void* IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSCLOUD_EXTERNAL int IPWORKSCLOUD_CALL IPWorksCloud_ShareFile_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

If the share items can only be viewed.

If true, the share items can only be viewed but not downloaded. Requires account preference EnableViewOnly to work. This feature can be enabled for Enterprise accounts by request.

The LinkIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LinkCount property.

This property is not available at design time.

Data Type

Boolean

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