Click or drag to resize
ContentRangeSaveToClipboard Method (SaveOptions)
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.1213
Syntax
public void SaveToClipboard(
	params SaveOptions[] listOfOptions
)

Parameters

listOfOptions
Type: GemBox.DocumentSaveOptions
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. If no SaveOptions is specified, ContentRange is saved using all supported SaveOptions type derivations.

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