API Reference
OdfLength
Preserves an ODF length's invariant lexical representation.
Inheritance
- ValueType
- OdfLength
Usage
Explore 173 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 145
- Property OdfInsets.Bottom
- Property OdfInsets.Left
- Property OdfInsets.Right
- Property OdfInsets.Top
- Method OdfLength.Centimeters
- Method OdfLength.Inches
- Method OdfLength.Parse
- Method OdfLength.Points
- Property OdfRect.Height
- Property OdfRect.Width
- Property OdfRect.X
- Property OdfRect.Y
- Property OdfShape.StrokeEndMarkerWidth
- Property OdfShape.StrokeStartMarkerWidth
- Property OdfShape.StrokeWidth
- Property OdfShape.TextBoxMaximumHeight
- Property OdfShape.TextBoxMaximumWidth
- Property OdfShape.TextBoxMinimumHeight
- Property OdfShape.TextBoxMinimumWidth
- Property OdfStrokeDashPattern.DashLength
- Property OdfStrokeDashPattern.Distance
- Property OdfStrokeDashPattern.SecondDashLength
- Property OdfStyle.FontSize
- Property OdfStyle.LineHeight
- Property OdfStyle.MarginBottom
- Property OdfStyle.MarginLeft
- Property OdfStyle.MarginRight
- Property OdfStyle.MarginTop
- Property OdfStyle.TextIndent
- Property OdfTabStop.Position
- Property OdfTextContent.FontSize
- Property OdfTextHyperlink.FontSize
- Property OdfTextParagraph.FontSize
- Property OdfTextParagraph.LineHeight
- Property OdfTextParagraph.MarginBottom
- Property OdfTextParagraph.MarginLeft
- Property OdfTextParagraph.MarginRight
- Property OdfTextParagraph.MarginTop
- Property OdfTextRun.FontSize
- Property OdgPage.Height
- Property OdgPage.Width
- Property OdgShape.CornerRadius
- Property OdgShape.CornerRadiusX
- Property OdgShape.CornerRadiusY
- Property OdgShape.FontSize
- Property OdgShape.StrokeEndMarkerWidth
- Property OdgShape.StrokeStartMarkerWidth
- Property OdgShape.StrokeWidth
- Property OdgShape.TextBoxMaximumHeight
- Property OdgShape.TextBoxMaximumWidth
- Property OdgShape.TextBoxMinimumHeight
- Property OdgShape.TextBoxMinimumWidth
- Property OdgShape.X1
- Property OdgShape.X2
- Property OdgShape.Y1
- Property OdgShape.Y2
- Property OdpEllipse.StrokeEndMarkerWidth
- Property OdpEllipse.StrokeStartMarkerWidth
- Property OdpEllipse.StrokeWidth
- Property OdpEllipse.TextBoxMaximumHeight
- Property OdpEllipse.TextBoxMaximumWidth
- Property OdpEllipse.TextBoxMinimumHeight
- Property OdpEllipse.TextBoxMinimumWidth
- Property OdpGroup.StrokeEndMarkerWidth
- Property OdpGroup.StrokeStartMarkerWidth
- Property OdpGroup.StrokeWidth
- Property OdpGroup.TextBoxMaximumHeight
- Property OdpGroup.TextBoxMaximumWidth
- Property OdpGroup.TextBoxMinimumHeight
- Property OdpGroup.TextBoxMinimumWidth
- Property OdpHyperlink.FontSize
- Property OdpImage.StrokeEndMarkerWidth
- Property OdpImage.StrokeStartMarkerWidth
- Property OdpImage.StrokeWidth
- Property OdpImage.TextBoxMaximumHeight
- Property OdpImage.TextBoxMaximumWidth
- Property OdpImage.TextBoxMinimumHeight
- Property OdpImage.TextBoxMinimumWidth
- Property OdpLine.StrokeEndMarkerWidth
- Property OdpLine.StrokeStartMarkerWidth
- Property OdpLine.StrokeWidth
- Property OdpLine.TextBoxMaximumHeight
- Property OdpLine.TextBoxMaximumWidth
- Property OdpLine.TextBoxMinimumHeight
- Property OdpLine.TextBoxMinimumWidth
- Property OdpLine.X1
- Property OdpLine.X2
- Property OdpLine.Y1
- Property OdpLine.Y2
- Property OdpParagraph.FontSize
- Property OdpParagraph.LineHeight
- Property OdpPresentation.PageHeight
- Property OdpPresentation.PageWidth
- Property OdpRectangle.StrokeEndMarkerWidth
- Property OdpRectangle.StrokeStartMarkerWidth
- Property OdpRectangle.StrokeWidth
- Property OdpRectangle.TextBoxMaximumHeight
- Property OdpRectangle.TextBoxMaximumWidth
- Property OdpRectangle.TextBoxMinimumHeight
- Property OdpRectangle.TextBoxMinimumWidth
- Property OdpRun.FontSize
- Property OdpShape.StrokeEndMarkerWidth
- Property OdpShape.StrokeStartMarkerWidth
- Property OdpShape.StrokeWidth
- Property OdpShape.TextBoxMaximumHeight
- Property OdpShape.TextBoxMaximumWidth
- Property OdpShape.TextBoxMinimumHeight
- Property OdpShape.TextBoxMinimumWidth
- Property OdpTable.StrokeEndMarkerWidth
- Property OdpTable.StrokeStartMarkerWidth
- Property OdpTable.StrokeWidth
- Property OdpTable.TextBoxMaximumHeight
- Property OdpTable.TextBoxMaximumWidth
- Property OdpTable.TextBoxMinimumHeight
- Property OdpTable.TextBoxMinimumWidth
- Property OdpTextBox.StrokeEndMarkerWidth
- Property OdpTextBox.StrokeStartMarkerWidth
- Property OdpTextBox.StrokeWidth
- Property OdpTextBox.TextBoxMaximumHeight
- Property OdpTextBox.TextBoxMaximumWidth
- Property OdpTextBox.TextBoxMinimumHeight
- Property OdpTextBox.TextBoxMinimumWidth
- Property OdsCell.FontSize
- Property OdsCellRun.FontSize
- Property OdsColumn.Width
- Property OdsColumnRun.Width
- Property OdsRow.Height
- Property OdsRowRun.Height
- Property OdtHyperlink.FontSize
- Property OdtImage.Height
- Property OdtImage.Width
- Property OdtPageLayout.Height
- Property OdtPageLayout.MarginBottom
- Property OdtPageLayout.MarginLeft
- Property OdtPageLayout.MarginRight
- Property OdtPageLayout.MarginTop
- Property OdtPageLayout.Width
- Property OdtParagraph.FirstLineIndent
- Property OdtParagraph.FontSize
- Property OdtParagraph.IndentEnd
- Property OdtParagraph.IndentStart
- Property OdtParagraph.LineHeight
- Property OdtParagraph.SpaceAbove
- Property OdtParagraph.SpaceBelow
- Property OdtSpan.FontSize
Accepted by parameters 28
- Constructor OdfInsets.OdfInsets
- Constructor OdfInsets.OdfInsets
- Constructor OdfInsets.OdfInsets
- Constructor OdfInsets.OdfInsets
- Method OdfLength.Equals
- Constructor OdfRect.OdfRect
- Constructor OdfRect.OdfRect
- Constructor OdfRect.OdfRect
- Constructor OdfRect.OdfRect
- Constructor OdfStrokeDashPattern.OdfStrokeDashPattern
- Constructor OdfStrokeDashPattern.OdfStrokeDashPattern
- Constructor OdfStrokeDashPattern.OdfStrokeDashPattern
- Constructor OdfTabStop.OdfTabStop
- Method OdgDocument.AddPage
- Method OdgDocument.AddPage
- Method OdgShape.AddGluePoint
- Method OdgShape.AddGluePoint
- Method OdgShapes.AddLine
- Method OdgShapes.AddLine
- Method OdgShapes.AddLine
- Method OdgShapes.AddLine
- Method OdgShapes.AddRoundedRectangle
- Method OdpSlide.AddLine
- Method OdpSlide.AddLine
- Method OdpSlide.AddLine
- Method OdpSlide.AddLine
- Method OdtParagraph.AddImage
- Method OdtParagraph.AddImage
Methods
public static OdfLength Centimeters(Double value) #OdfLengthCreates a centimeter length.
Parameters
- value System.Double
public Boolean Equals(OdfLength other) #BooleanIndicates whether the current object is equal to another object of the same type.
Parameters
- other OfficeIMO.OpenDocument.OdfLength
- 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 OdfLength Inches(Double value) #OdfLengthCreates an inch length.
Parameters
- value System.Double
public static OdfLength Parse(String value) #OdfLengthCreates a length from an ODF lexical value such as `2.54cm` or `12pt`.
Parameters
- value System.String
public static OdfLength Points(Double value) #OdfLengthCreates a point length.
Parameters
- value System.Double
public override String ToString() #StringReturns the fully qualified type name of this instance.
Returns
The fully qualified type name.
public Boolean TryToPoints(out Double points) #BooleanAttempts to convert an absolute ODF length to points without throwing for relative or unsupported units.
Parameters
- points System.Double