Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLayoutDiagnostic

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

Describes a reusable PDF layout or visual fidelity diagnostic produced while generating PDF output.

Inheritance

  • object
  • PdfLayoutDiagnostic

Usage

Explore 4 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Accepted by parameters 3

Constructors

PdfLayoutDiagnostic 2 overloads
public PdfLayoutDiagnostic(PdfLayoutDiagnosticKind kind, string source, string message) #

Creates a layout diagnostic without source bounds.

Parameters

kind OfficeIMO.Pdf.PdfLayoutDiagnosticKind required
source string required
message string required
public PdfLayoutDiagnostic(PdfLayoutDiagnosticKind kind, string source, string message, OfficeLength? x, OfficeLength? y, OfficeLength? width, OfficeLength? height) #

Creates a layout diagnostic with optional source bounds in points.

Parameters

kind OfficeIMO.Pdf.PdfLayoutDiagnosticKind required
source string required
message string required
x OfficeIMO.OfficeLength? required
y OfficeIMO.OfficeLength? required
width OfficeIMO.OfficeLength? required
height OfficeIMO.OfficeLength? required

Methods

public override string ToString() #

Returns a string that represents the current object.

Returns

string A string that represents the current object.

Properties

public PdfLayoutDiagnosticKind Kind { get; } #

Diagnostic kind.

public string Source { get; } #

Source converter, block, or feature that emitted the diagnostic.

public string Message { get; } #

Human-readable diagnostic message.

public OfficeLength? X { get; } #

Optional left coordinate in points.

public OfficeLength? Y { get; } #

Optional top coordinate in points.

public OfficeLength? Width { get; } #

Optional width in points.

public OfficeLength? Height { get; } #

Optional height in points.

public bool HasBounds { get; } #

Whether source bounds were provided.