Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeDrawingShape

OfficeIMO.Drawing

Namespace
OfficeIMO.Drawing
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Positioned shape inside an OfficeDrawing canvas. Coordinates use the drawing's local top-left coordinate space. Standalone shapes may use finite negative coordinates for clipped intermediate scenes; OfficeDrawing.AddShape still enforces canvas bounds.

Inheritance

Usage

Explore 2 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 2

Constructors

public OfficeDrawingShape(OfficeShape shape, double x, double y) #

Creates a positioned shape.

Parameters

shape OfficeIMO.Drawing.OfficeShape required
x double required
y double required

Methods

public OfficeDrawingShape Clone() #

Creates a detached copy of this positioned shape.

Properties

public double X { get; } #

Shape horizontal position inside the drawing.

public double Y { get; } #

Shape vertical position inside the drawing.

public OfficeShape Shape { get; } #

Detached shape descriptor.