Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OdfRect

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
be6c300e4ab1 with working tree changes
Base
ValueType
Modifiers
sealed

Position and size expressed as ODF lengths.

Inheritance

  • ValueType
  • OdfRect

Usage

Explore 30 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 12

Accepted by parameters 18

Constructors

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

Creates a rectangle.

Parameters

x OfficeIMO.OpenDocument.OdfLength required
y OfficeIMO.OpenDocument.OdfLength required
width OfficeIMO.OpenDocument.OdfLength required
height OfficeIMO.OpenDocument.OdfLength required

Methods

public static OdfRect FromCentimeters(double x, double y, double width, double height) #

Creates a rectangle in centimeters.

Parameters

x double required
y double required
width double required
height double required

Returns

OdfRect

Properties

public OdfLength X { get; } #

Horizontal position.

public OdfLength Y { get; } #

Vertical position.

public OdfLength Width { get; } #

Width.

public OdfLength Height { get; } #

Height.