Pageflex Document Action API
Paste Method (content)
Namespaces > Pageflex.Scripting > Range > Paste(StreamFragment)
Replaces this Range's content with the specified StreamFragment's content.
Syntax
C# | Visual Basic | Managed C++ |
public void Paste ( StreamFragment content )
Public Sub Paste ( _ content As StreamFragment _ )
public: void Paste ( StreamFragment^ content )
Parameters
- content (StreamFragment)
- StreamFragment whose content should be pasted.
Exceptions
Exception | Condition |
---|---|
RangeNotEditableException | Pasting inside a variable, table of contents, or page number is not permitted. |
ArgumentNullException | The value supplied for content was nullNothingnullptr. |
StaleScriptingObjectException | This object's associated internal object no longer exists. |
Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)