ParagraphImage.ImageHasFocalPoint
Version: 9.6.0 booleanSummary
Returns True or False if x or y <>0
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
@GetBoolean("ParagraphImage.ImageHasFocalPoint")
Check if tag has a value
@if(!bool.IsNullOrWhiteSpace(GetBoolean("ParagraphImage.ImageHasFocalPoint"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
bool storedTag = GetBoolean("ParagraphImage.ImageHasFocalPoint");
}
Outputting the template tag
<!--@ParagraphImage.ImageHasFocalPoint-->
Check if boolean has a value
<!--@If Defined(@ParagraphImage.ImageHasFocalPoint)-->
Let's output this tag here: <strong><!--@ParagraphImage.ImageHasFocalPoint--></strong>
<!--@EndIf(@ParagraphImage.ImageHasFocalPoint)-->