API Reference

Struct

OdfRect

Namespace OfficeIMO.OpenDocument
Assembly OfficeIMO.OpenDocument
Base ValueType
Modifiers sealed

Position and size expressed as ODF lengths.

Inheritance

  • ValueType
  • OdfRect

Usage

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

Returned or exposed by

Accepted by parameters

Constructors

public OdfRect(OdfLength x, OdfLength y, OdfLength width, OdfLength height) #

Creates a rectangle.

Parameters

x OfficeIMO.OpenDocument.OdfLength requiredposition: 0
y OfficeIMO.OpenDocument.OdfLength requiredposition: 1
width OfficeIMO.OpenDocument.OdfLength requiredposition: 2
height OfficeIMO.OpenDocument.OdfLength requiredposition: 3

Methods

public static OdfRect FromCentimeters(Double x, Double y, Double width, Double height) #
Returns: OdfRect

Creates a rectangle in centimeters.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
width System.Double requiredposition: 2
height System.Double requiredposition: 3

Properties

public OdfLength X { get; } #

Horizontal position.

public OdfLength Y { get; } #

Vertical position.

public OdfLength Width { get; } #

Width.

public OdfLength Height { get; } #

Height.