Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OneNoteTextProjection

OfficeIMO.OneNote.Markdown

Namespace
OfficeIMO.OneNote.Markdown
Assembly
OfficeIMO.OneNote.Markdown
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Normalizes native OneNote text for safe text, Markdown, HTML, Reader, and PDF projection.

Inheritance

  • object
  • OneNoteTextProjection

Methods

public static string Normalize(string? value) #

Converts OneNote/RichEdit layout controls into line breaks and replaces invalid Unicode controls, noncharacters, and unpaired surrogates. The typed source model is not modified.

Parameters

value string? required
Native OneNote text.

Returns

string Projection-safe Unicode text.