# VisioCalloutOptions

Options for creating an OfficeIMO callout shape and leader connector.

Class 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[VisioCalloutOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L11)

**Modifiers**

sealed

Options for creating an OfficeIMO callout shape and leader connector.

## Inheritance

- object
- VisioCalloutOptions

## Usage

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

- Method [VisioArchitectureDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visioarchitecturediagrambuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioBlockDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visioblockdiagrambuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioDependencyDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visiodependencydiagrambuilder/#method-callout-string-string-string-officeimo-visio-visioside-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioFlowchartBuilder.Callout](/api/visio/officeimo-visio-diagrams-visioflowchartbuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioNetworkDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visionetworkdiagrambuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioNetworkTopologyDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visionetworktopologydiagrambuilder/#method-callout-string-string-string-officeimo-visio-visioside-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioOrgChartDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visioorgchartdiagrambuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioSwimlaneDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visioswimlanediagrambuilder/#method-callout-string-string-double-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioTimelineDiagramBuilder.Callout](/api/visio/officeimo-visio-diagrams-visiotimelinediagrambuilder/#method-callout-string-string-string-officeimo-visio-visioside-double-action-officeimo-visio-visiocalloutoptions) parameter `configure`
- Method [VisioCalloutExtensions.AddCallout](/api/visio/officeimo-visio-visiocalloutextensions/#method-addcallout-officeimo-visio-visiopage-officeimo-visio-visioshape-string-officeimo-officelength-officeimo-officelength-officeimo-visio-visiocalloutoptions) parameter `options`
- Extension method [VisioPage.AddCallout](/api/visio/officeimo-visio-visiopage/#extension-addcallout-officeimo-visio-visiopage-officeimo-visio-visioshape-string-officeimo-officelength-officeimo-officelength-officeimo-visio-visiocalloutoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public VisioCalloutOptions()` [#](#constructor-ctor)

[VisioCalloutOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L11)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public double Width { get; set; }` [#](#property-width)

[VisioCalloutOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L11)

Width of the callout shape in page units.

`public double Height { get; set; }` [#](#property-height)

[VisioCalloutOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L16)

Height of the callout shape in page units.

`public string? LayerName { get; set; }` [#](#property-layername)

[VisioCalloutOptions.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L21)

Optional page layer for the callout shape and leader connector. Set to null or empty to skip layer assignment.

`public VisioSide TargetSide { get; set; }` [#](#property-targetside)

[VisioCalloutOptions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L26)

Preferred side on the target shape. Auto chooses the side nearest the callout.

`public VisioSide CalloutSide { get; set; }` [#](#property-calloutside)

[VisioCalloutOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L31)

Preferred side on the callout shape. Auto chooses the side facing the target.

`public ConnectorKind LeaderKind { get; set; }` [#](#property-leaderkind)

[VisioCalloutOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L36)

Connector kind used for the callout leader.

`public bool RouteLeader { get; set; }` [#](#property-routeleader)

[VisioCalloutOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L41)

Whether to generate explicit orthogonal waypoints for right-angle leaders.

`public double RouteOffset { get; set; }` [#](#property-routeoffset)

[VisioCalloutOptions.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L46)

Optional offset for the generated leader routing lane.

`public VisioShapeStyle? ShapeStyle { get; set; }` [#](#property-shapestyle)

[VisioCalloutOptions.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L51)

Optional style for the callout shape. When null, a warm annotation style is used.

`public VisioConnectorStyle? LeaderStyle { get; set; }` [#](#property-leaderstyle)

[VisioCalloutOptions.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Visio/Editing/VisioCalloutOptions.cs#L56)

Optional style for the leader connector. When null, a dashed annotation leader is used.

<!-- PowerForge markdown artifact sha256:34DA59291A99B3B4755C2CF3DAE707EFDF28785E8EC926E4C8501CC5AE46D9FA -->
