Delen via


DataPackage.SetRtf(String) Method

Definition

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

public:
 virtual void SetRtf(Platform::String ^ value) = SetRtf;
void SetRtf(winrt::hstring const& value);
public void SetRtf(string value);
function setRtf(value)
Public Sub SetRtf (value As String)

Parameters

value
String

Platform::String

winrt::hstring

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.

Applies to