API Reference
OfficeCallout
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
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
- y System.Double
- width System.Double
- height System.Double
- anchorX System.Double
- anchorY System.Double
- title System.String
- text System.String
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
- y System.Double
- width System.Double
- height System.Double
- anchorX System.Double
- anchorY System.Double
- title System.String
- text System.String
- richTextRuns System.Collections.Generic.IReadOnlyList{OfficeIMO.Drawing.OfficeRichTextRun}
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
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 IReadOnlyList<OfficeRichTextRun> RichTextRuns { get; } #Optional styled body text runs. Empty means render Text as plain text.