Table of Contents

Class ObjectHtml

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Represents an HTML object rendering HTML content (string or file) with optional frame, pagination and fitting settings.

public class ObjectHtml : ObjectBase
Inheritance
ObjectHtml
Inherited Members

Constructors

ObjectHtml(CollectionObjectBases)

Creates and appends a new HTML object to the specified collection.

public ObjectHtml(CollectionObjectBases objectCollection)

Parameters

objectCollection CollectionObjectBases

The parent collection to which the object is added.

ObjectHtml(CollectionObjectBases, int)

Creates and inserts a new HTML object at the given index within the collection.

public ObjectHtml(CollectionObjectBases objectCollection, int index)

Parameters

objectCollection CollectionObjectBases

The parent collection holding the object.

index int

Zero-based index at which to insert the object.

Properties

AllowPageBreak

Gets or sets whether page breaks are allowed inside the HTML content.

public string AllowPageBreak { get; set; }

Property Value

string

ContentType

Gets or sets the content type (e.g. 0 = literal HTML, other values may indicate different sources).

public string ContentType { get; set; }

Property Value

string

Contents

Gets or sets the HTML contents (raw HTML text or expression resolving to it).

public string Contents { get; set; }

Property Value

string

ExportAsPicture

Gets or sets whether the HTML should be exported as a raster picture.

public string ExportAsPicture { get; set; }

Property Value

string

FitToObject

Gets or sets whether the HTML content is scaled to fit the object's bounding box.

public string FitToObject { get; set; }

Property Value

string

Frame

Gets the frame styling of the HTML object.

[JsonInclude]
public PropertyFrame Frame { get; }

Property Value

PropertyFrame