Gallery.PDF.Size
Version: - stringSummary
Returns the size of the current PDF in kilobytes.
Settings
The value is generated automatically.
Remarks
The tag is available when PDF is selected in Page > Paragraph > Module tab > List section > PDF.
Examples
Outputting the template tag
@GetString("Gallery.PDF.Size")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("Gallery.PDF.Size"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("Gallery.PDF.Size");
}
Outputting the template tag
<!--@Gallery.PDF.Size-->
Check if string has a value
<!--@If Defined(@Gallery.PDF.Size)-->
Let's output this tag here: <strong><!--@Gallery.PDF.Size--></strong>
<!--@EndIf(@Gallery.PDF.Size)-->