Pageflex Document Action API
GetParagraphStyle Method (name)
Namespaces > Pageflex.Scripting > Document > GetParagraphStyle(String)
Returns the ParagraphStyle with the specified name defined for the document.

C# | Visual Basic | Managed C++ |
public ParagraphStyle GetParagraphStyle ( string name )
Public Function GetParagraphStyle ( _ name As String _ ) As ParagraphStyle
public: ParagraphStyle^ GetParagraphStyle ( String^ name )

- name (String)
- Name of paragraph style to retrieve.

The specified ParagraphStyle element.

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)