Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

OfficeTextPadding

OfficeIMO.Drawing

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

Text insets applied inside an Office drawing text frame before layout.

Inheritance

  • ValueType
  • OfficeTextPadding

Usage

Explore 15 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.

Accepted by parameters 10

Constructors

public OfficeTextPadding(double left, double top, double right, double bottom) #

Creates text-frame padding in drawing units.

Parameters

left double required
top double required
right double required
bottom double required

Methods

public OfficeTextPadding Scale(double scale) #

Returns the same padding scaled by a rendering factor.

Parameters

scale double required

Properties

public static OfficeTextPadding Empty { get; } #

No text padding.

public double Left { get; } #

Left inset.

public double Top { get; } #

Top inset.

public double Right { get; } #

Right inset.

public double Bottom { get; } #

Bottom inset.

public double Horizontal { get; } #

Total horizontal inset.

public double Vertical { get; } #

Total vertical inset.

public bool IsEmpty { get; } #

Whether all insets are zero.