Table of Contents

Struct SourceLocation

Namespace
NetPdf
Assembly
NetPdf.dll

Optional source location attached to a Diagnostic — typically the position in the input HTML or a fetched stylesheet where the issue originated.

public readonly record struct SourceLocation : IEquatable<SourceLocation>
Implements
Inherited Members

Constructors

SourceLocation(string?, int, int)

Optional source location attached to a Diagnostic — typically the position in the input HTML or a fetched stylesheet where the issue originated.

public SourceLocation(string? File, int Line, int Column)

Parameters

File string
Line int
Column int

Properties

Column

public int Column { get; init; }

Property Value

int

File

public string? File { get; init; }

Property Value

string

Line

public int Line { get; init; }

Property Value

int

Unknown

The unknown / unavailable location.

public static SourceLocation Unknown { get; }

Property Value

SourceLocation