Struct
OdfInsets
OfficeIMO.OpenDocument
Top, right, bottom, and left ODF lengths.
Inheritance
- ValueType
- OdfInsets
Usage
Explore 14 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 13
- Method OdfInsets.FromCentimeters
- Property OdfShape.TextPadding
- Property OdgShape.Crop
- Property OdgShape.TextPadding
- Property OdpEllipse.TextPadding
- Property OdpGroup.TextPadding
- Property OdpImage.Crop
- Property OdpImage.TextPadding
- Property OdpLine.TextPadding
- Property OdpRectangle.TextPadding
- Property OdpShape.TextPadding
- Property OdpTable.TextPadding
- Property OdpTextBox.TextPadding
Accepted by parameters 1
- Method OdfInsets.Equals
Constructors
public OdfInsets(OdfLength top, OdfLength right, OdfLength bottom, OdfLength left) #Creates four-sided insets.
Parameters
- top OfficeIMO.OpenDocument.OdfLength
- right OfficeIMO.OpenDocument.OdfLength
- bottom OfficeIMO.OpenDocument.OdfLength
- left OfficeIMO.OpenDocument.OdfLength
Methods
Equals 2 overloads
public bool Equals(OdfInsets other) #Indicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.OpenDocument.OdfInsets
- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.public override bool Equals(object? obj) #Indicates whether this instance and a specified object are equal.
Parameters
- obj object?
- The object to compare with the current instance.
Returns
bool true if obj and this instance are the same type and represent the same value; otherwise, false.public static OdfInsets FromCentimeters(double top, double right, double bottom, double left) #Creates centimeter insets.
Parameters
- top double
- right double
- bottom double
- left double
Returns
OdfInsetspublic override int GetHashCode() #Returns the hash code for this instance.
Returns
int A 32-bit signed integer that is the hash code for this instance.