PeachPDF

PeachPDF.Network

RUri Class

Wraps System.Uri for use throughout PeachPDF’s resource-loading pipeline, adding special-case handling for data: URIs (which System.Uri can parse but, on older target frameworks, cannot round-trip correctly through AbsoluteUri) and helpers for resolving a relative URI against a base URI.

public class RUri

Inheritance System.Object → RUri

Constructors  
RUri(RUri, RUri) Resolves uri against baseUri, the same way a relative href/src/url() reference is resolved against a document’s base URL.
RUri(RUri, string) Resolves uri against baseUri, the same way a relative href/src/url() reference is resolved against a document’s base URL.
RUri(string) Parses uriString as either an absolute or relative URI.
RUri(string, UriKind) Parses uriString as the given uriKind.
RUri(Uri) Wraps an existing System.Uri instance.
Properties  
AbsoluteUri The fully escaped absolute URI string.
IsAbsoluteUri Whether this instance represents an absolute URI.
IsFile Whether this URI refers to a local file.
OriginalString The original, unescaped URI string as it was parsed.
Scheme The URI scheme (e.g. https, file, data).
Uri The underlying System.Uri.