API Reference
HtmlRenderMargins
Immutable HTML render margins measured in CSS pixels.
Inheritance
- ValueType
- HtmlRenderMargins
Usage
Explore 9 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 4
- Method HtmlRenderMargins.All
- Property HtmlRenderOptions.Margins
- Property HtmlRenderPage.Margins
- Property HtmlToPdfOptions.Margins
Accepted by parameters 5
- Method HtmlRenderMargins.Equals
- Method HtmlRenderMargins.op_Equality
- Method HtmlRenderMargins.op_Equality
- Method HtmlRenderMargins.op_Inequality
- Method HtmlRenderMargins.op_Inequality
Constructors
public HtmlRenderMargins(Double left, Double top, Double right, Double bottom) #Creates page or continuous-surface margins.
Parameters
- left System.Double
- top System.Double
- right System.Double
- bottom System.Double
Methods
public static HtmlRenderMargins All(Double value) #HtmlRenderMarginsCreates equal margins on every side.
Parameters
- value System.Double
public Boolean Equals(HtmlRenderMargins other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.Html.HtmlRenderMargins
- An object to compare with this object.
Returns
true if the current object is equal to the other parameter; otherwise, false.
public override Boolean Equals(Object? obj) #BooleanIndicates whether this instance and a specified object are equal.
Parameters
- obj System.Object?
- The object to compare with the current instance.
Returns
true if obj and this instance are the same type and represent the same value; otherwise, false.
public override Int32 GetHashCode() #Int32Returns the hash code for this instance.
Returns
A 32-bit signed integer that is the hash code for this instance.
public static Boolean op_Equality(HtmlRenderMargins left, HtmlRenderMargins right) #BooleanEquality operator.
Parameters
- left OfficeIMO.Html.HtmlRenderMargins
- right OfficeIMO.Html.HtmlRenderMargins
public static Boolean op_Inequality(HtmlRenderMargins left, HtmlRenderMargins right) #BooleanInequality operator.
Parameters
- left OfficeIMO.Html.HtmlRenderMargins
- right OfficeIMO.Html.HtmlRenderMargins