Click or drag to resize
ContentRangeSaveToClipboard Method (IEnumerableSaveOptions)
Saves the current ContentRange to the clipboard using specified text formats.

Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1231
Syntax
public void SaveToClipboard(
	IEnumerable<SaveOptions> listOfOptions
)

Parameters

listOfOptions
Type: System.Collections.GenericIEnumerableSaveOptions
List of SaveOptions type derivations mapping clipboard text formats.
Exceptions
ExceptionCondition
ArgumentExceptionSaveOptions type derivation supplied inside listOfOptions is not supported for this operation. Use one of the supported derivations: RtfSaveOptions, HtmlSaveOptions and TxtSaveOptions
Remarks

Applications which save data to clipboard should try to save it in all formats supporting that specific data.

Following SaveOptions type derivations can be used: RtfSaveOptions, HtmlSaveOptions and TxtSaveOptions.

Remarks
Thread must be set to single thread apartment (STA) mode before calls to this method can be made.
See Also