CharactersReservedPerMedia

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Share Service >

CharactersReservedPerMedia

Previous page Return to chapter overview Next page

Definition

Sets the number of characters allowed when attaching an image to ensure that character count is properly calculated.

 

Note:  Social networks like Twitter or StockTwits, which limit the number of characters for each post, will have a defined number of characters that are reserved when an image or other media is attached.

 

 

Property Value

A int value that represents the number of characters reserved when attaching an image or other media.

 

Syntax

CharactersReservedPerMedia

 

 

Examples

ns


protected override void OnStateChange()

{                        

if (State == State.SetDefaults)

{

CharactersReservedPerMedia        = 40;

}

}