DataPackage.SetRtf(String) DataPackage.SetRtf(String) DataPackage.SetRtf(String) DataPackage.SetRtf(String) DataPackage.SetRtf(String) Method

Definition

Sets the Rich Text Format (RTF) content that is contained in a DataPackage.

public : void SetRtf(Platform::String value)
void SetRtf(winrt::hstring value) const;
public void SetRtf(String value)
Public Sub SetRtf(value As String)
dataPackage.setRtf(value);

Parameters

value
String String String

Specifies the Rich Text Format (RTF) content for the DataPackage.

Remarks

This method sets the value for StandardFormats.Rtf.

Rich Text Format (RTF) is one of the data types that the DataPackage object supports directly. See the StandardDataFormats class for info on other supported data types.