ParagraphImage.FocalX

Version: 9.6.0 integer  

Summary

Returns a number -100-100

Settings

The value relays to Image editor control used in the paragraph.

Remarks

Depends on 'Enable focal points for standard paragraphs' option in Settings-Editing-Interface settings-Paragraph.

Examples

Outputting the template tag

@GetInteger("ParagraphImage.FocalX")

Check if tag has a value

@if(!int.IsNullOrWhiteSpace(GetInteger("ParagraphImage.FocalX"))) { @* Tag has value, so let's do something useful here. *@ }

Assign tag to a value for later use

@{ int storedTag = GetInteger("ParagraphImage.FocalX"); }

Outputting the template tag

<!--@ParagraphImage.FocalX-->

Check if integer has a value

<!--@If Defined(@ParagraphImage.FocalX)--> Let's output this tag here: <strong><!--@ParagraphImage.FocalX--></strong> <!--@EndIf(@ParagraphImage.FocalX)-->