HasFormatName Script

Build 1501 on 14/Nov/2017  This topic last edited on: 28/Oct/2014, at 10:49

Description

Returns True if the format with name strFormatName exists in the current justification scope for the article element with name strElementTypeName.

Syntax

bResult = HasFormatName(strFormatName, strElementTypeName)

strFormatName

Name of the format

strElementTypeName

Name of the article element

Example

If HasFormatName(SystemUserOptions.AFPCC_PCFormat, photoname) Then

  Page.TxtFormatName(SystemUserOptions.AFPCC_PCFormat)

End If