GetParagraphStyle Method (name)

Pageflex Document Action API

Pageflex Document Action API GetParagraphStyle Method (name)
Namespaces > Pageflex.Scripting > Document > GetParagraphStyle(String)
Returns the ParagraphStyle with the specified name defined for the document.
Syntax
C# Visual Basic Managed C++
public ParagraphStyle GetParagraphStyle (
	string name
)
Public Function GetParagraphStyle ( _
	name As String _
) As ParagraphStyle
public:
ParagraphStyle^ GetParagraphStyle (
	String^ name
)
Parameters
name (String)
Name of paragraph style to retrieve.
Return Value
The specified ParagraphStyle element.
Exceptions
Exception Condition
ParagraphStyleNotFoundException The specified paragraph style is not defined in the current document.
ArgumentNullException The value supplied for name was nullNothingnullptr.
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)