API Reference

Struct

HtmlRenderMargins

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Base ValueType
Implements
IEquatable<HtmlRenderMargins>
Modifiers sealed

Immutable HTML render margins measured in CSS pixels.

Inheritance

  • ValueType
  • HtmlRenderMargins

Usage

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

Accepted by parameters

Constructors

public HtmlRenderMargins(Double left, Double top, Double right, Double bottom) #

Creates page or continuous-surface margins.

Parameters

left System.Double requiredposition: 0
top System.Double requiredposition: 1
right System.Double requiredposition: 2
bottom System.Double requiredposition: 3

Methods

public static HtmlRenderMargins All(Double value) #
Returns: HtmlRenderMargins

Creates equal margins on every side.

Parameters

value System.Double requiredposition: 0
Equals 2 overloads
public virtual Boolean Equals(HtmlRenderMargins other) #
Returns: Boolean

Parameters

other OfficeIMO.Html.HtmlRenderMargins requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public static Boolean op_Equality(HtmlRenderMargins left, HtmlRenderMargins right) #
Returns: Boolean

Equality operator.

Parameters

left OfficeIMO.Html.HtmlRenderMargins requiredposition: 0
right OfficeIMO.Html.HtmlRenderMargins requiredposition: 1
public static Boolean op_Inequality(HtmlRenderMargins left, HtmlRenderMargins right) #
Returns: Boolean

Inequality operator.

Parameters

left OfficeIMO.Html.HtmlRenderMargins requiredposition: 0
right OfficeIMO.Html.HtmlRenderMargins requiredposition: 1

Properties

public Double Left { get; } #

Left margin in CSS pixels.

public Double Top { get; } #

Top margin in CSS pixels.

public Double Right { get; } #

Right margin in CSS pixels.

public Double Bottom { get; } #

Bottom margin in CSS pixels.