Click or drag to resize

ContentPositionLoadFromClipboard Method (LoadOptions)

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:
public void LoadFromClipboard(
	params LoadOptions[] listOfOptions


Type: GemBox.DocumentLoadOptions
List of LoadOptions type derivations mapping clipboard text formats.
ArgumentExceptionLoadOptions type derivation supplied inside listOfOptions is not supported for this operation. Use one of the supported derivations: RtfLoadOptions, HtmlLoadOptions and TxtLoadOptions

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. If no LoadOptions is specified, content is loaded using first supported LoadOptions type derivation which successfully completed, trying in following order: RtfLoadOptions -> HtmlLoadOptions -> TxtLoadOptions.

See Also