Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeCallout

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Positioned callout geometry and plain-text content used by dependency-free renderers.

Inheritance

  • Object
  • OfficeCallout

Usage

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

Accepted by parameters

Constructors

OfficeCallout 2 overloads
public OfficeCallout(Double x, Double y, Double width, Double height, Double anchorX, Double anchorY, String title, String text) #

Creates a callout with absolute coordinates in the caller's visual coordinate space.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
width System.Double requiredposition: 2
height System.Double requiredposition: 3
anchorX System.Double requiredposition: 4
anchorY System.Double requiredposition: 5
title System.String requiredposition: 6
text System.String requiredposition: 7
public OfficeCallout(Double x, Double y, Double width, Double height, Double anchorX, Double anchorY, String title, String text, IReadOnlyList<OfficeRichTextRun> richTextRuns) #

Creates a callout with absolute coordinates and optional rich body text runs.

Parameters

x System.Double requiredposition: 0
y System.Double requiredposition: 1
width System.Double requiredposition: 2
height System.Double requiredposition: 3
anchorX System.Double requiredposition: 4
anchorY System.Double requiredposition: 5
title System.String requiredposition: 6
text System.String requiredposition: 7
richTextRuns System.Collections.Generic.IReadOnlyList{OfficeIMO.Drawing.OfficeRichTextRun} requiredposition: 8

Properties

public Double X { get; } #

X position in CSS pixels before renderer scale is applied.

public Double Y { get; } #

Y position in CSS pixels before renderer scale is applied.

public Double Width { get; } #

Callout width in CSS pixels before renderer scale is applied.

public Double Height { get; } #

Callout height in CSS pixels before renderer scale is applied.

public Double AnchorX { get; } #

X coordinate of the external anchor point before renderer scale is applied.

public Double AnchorY { get; } #

Y coordinate of the external anchor point before renderer scale is applied.

public String Title { get; } #

Header/title text.

public String Text { get; } #

Body text.

public IReadOnlyList<OfficeRichTextRun> RichTextRuns { get; } #

Optional styled body text runs. Empty means render Text as plain text.