DataPackage.SetRtf(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.