Редагувати

Поділитися через


XpsFont.ObfuscateFontData(Byte[], Guid) Method

Definition

Obfuscates the font typeface data.

public:
 static void ObfuscateFontData(cli::array <System::Byte> ^ fontData, Guid guid);
public static void ObfuscateFontData (byte[] fontData, Guid guid);
static member ObfuscateFontData : byte[] * Guid -> unit
Public Shared Sub ObfuscateFontData (fontData As Byte(), guid As Guid)

Parameters

fontData
Byte[]

The typeface data to obfuscate.

guid
Guid

The globally unique identifier (GUID) to use to obfuscate the fontData.

Remarks

The ObfuscateFontData method is provided for use when you are legally obligated to obfuscate licensed proprietary fonts.

While this method does not provide encryption, the ObfuscateFontData method can be used to inhibit users from unzipping proprietary OpenType fonts and installing them separately for other uses.

For more information about font obfuscation, see Section 2.1.7.3 "Embedded Font Obfuscation" in the XML Paper Specification (XPS).

Applies to

See also