API Reference

Class

PdfLayoutDiagnostic

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

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

Inheritance

  • Object
  • PdfLayoutDiagnostic

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

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

Creates a layout diagnostic without source bounds.

Parameters

kind OfficeIMO.Pdf.PdfLayoutDiagnosticKind requiredposition: 0
source System.String requiredposition: 1
message System.String requiredposition: 2
public PdfLayoutDiagnostic(PdfLayoutDiagnosticKind kind, String source, String message, Nullable<Double> x, Nullable<Double> y, Nullable<Double> width, Nullable<Double> height) #

Creates a layout diagnostic with optional source bounds in points.

Parameters

kind OfficeIMO.Pdf.PdfLayoutDiagnosticKind requiredposition: 0
source System.String requiredposition: 1
message System.String requiredposition: 2
x System.Nullable{System.Double} requiredposition: 3
y System.Nullable{System.Double} requiredposition: 4
width System.Nullable{System.Double} requiredposition: 5
height System.Nullable{System.Double} requiredposition: 6

Methods

public override String ToString() #
Returns: String

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 Nullable<Double> X { get; } #

Optional left coordinate in points.

public Nullable<Double> Y { get; } #

Optional top coordinate in points.

public Nullable<Double> Width { get; } #

Optional width in points.

public Nullable<Double> Height { get; } #

Optional height in points.

public Boolean HasBounds { get; } #

Whether source bounds were provided.