IsImageAttachmentSupported

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Share Service >

IsImageAttachmentSupported

Previous page Return to chapter overview Next page

Definition

Determines if the Share Service will allow for images as attachments.

 

Property Value

A bool value when false, screenshots will be unable to be sent to the social network.

 

Syntax

IsImageAttachmentSupported

 

 

Examples

ns


protected override void OnStateChange()
{        
  if (State == State.SetDefaults)
  {
     IsImageAttachmentSupported   = false;
  }
}