Click or drag to resize
ContentPositionLoadFromClipboard Method (IEnumerableLoadOptions)
Loads the content of the clipboard at the current ContentPosition using specified text format.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public void LoadFromClipboard(
	IEnumerable<LoadOptions> listOfOptions
)

Parameters

listOfOptions
Type: System.Collections.GenericIEnumerableLoadOptions
List of LoadOptions type derivations mapping clipboard text formats.
Exceptions
ExceptionCondition
ArgumentExceptionLoadOptions type derivation supplied inside listOfOptions is not supported for this operation. Use one of the supported derivations: RtfLoadOptions, HtmlLoadOptions and TxtLoadOptions
Remarks

Applications which load data from clipboard should try to load it using the richest text format it supports.

Following LoadOptions type derivations can be used: RtfLoadOptions, HtmlLoadOptions and TxtLoadOptions.

See Also