ParagraphImage.FocalY

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.FocalY")

Check if tag has a value

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

Assign tag to a value for later use

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

Outputting the template tag

<!--@ParagraphImage.FocalY-->

Check if integer has a value

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