Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioStencilPageExtensions

OfficeIMO.Visio.Stencils

Namespace
OfficeIMO.Visio.Stencils
Assembly
OfficeIMO.Visio
Source revision
273d35d5ba8a with working tree changes
Modifiers
static

Page helpers for placing OfficeIMO-native stencil shapes.

Inheritance

  • object
  • VisioStencilPageExtensions

Methods

AddStencilShape 6 overloads
public static VisioShape AddStencilShape(VisioPage page, VisioStencilShape stencil, string id, OfficeLength x, OfficeLength y, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
stencil OfficeIMO.Visio.Stencils.VisioStencilShape required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape
public static VisioShape AddStencilShape(VisioPage page, VisioStencilShape stencil, string id, OfficeLength x, OfficeLength y, OfficeLength width, OfficeLength height, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
stencil OfficeIMO.Visio.Stencils.VisioStencilShape required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape
public static VisioShape AddStencilShape(VisioPage page, VisioStencilCatalog catalog, string stencilIdOrName, string id, OfficeLength x, OfficeLength y, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
catalog OfficeIMO.Visio.Stencils.VisioStencilCatalog required
stencilIdOrName string required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape
public static VisioShape AddStencilShape(VisioPage page, VisioStencilCatalog catalog, string stencilIdOrName, string id, OfficeLength x, OfficeLength y, OfficeLength width, OfficeLength height, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
catalog OfficeIMO.Visio.Stencils.VisioStencilCatalog required
stencilIdOrName string required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape
public static VisioShape AddStencilShape(VisioPage page, string stencilIdOrName, string id, OfficeLength x, OfficeLength y, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
stencilIdOrName string required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape
public static VisioShape AddStencilShape(VisioPage page, string stencilIdOrName, string id, OfficeLength x, OfficeLength y, OfficeLength width, OfficeLength height, string? text = null) #

Creates the shape using explicit physical coordinates and dimensions.

Parameters

page OfficeIMO.Visio.VisioPage required
stencilIdOrName string required
id string required
x OfficeIMO.OfficeLength required
y OfficeIMO.OfficeLength required
width OfficeIMO.OfficeLength required
height OfficeIMO.OfficeLength required
text string? = null optional

Returns

VisioShape