Class
VisioStencilPageExtensions
OfficeIMO.Visio.Stencils
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
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShapepublic 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
- stencil OfficeIMO.Visio.Stencils.VisioStencilShape
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShapepublic 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
- catalog OfficeIMO.Visio.Stencils.VisioStencilCatalog
- stencilIdOrName string
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShapepublic 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
- catalog OfficeIMO.Visio.Stencils.VisioStencilCatalog
- stencilIdOrName string
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShapepublic 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
- stencilIdOrName string
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShapepublic 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
- stencilIdOrName string
- id string
- x OfficeIMO.OfficeLength
- y OfficeIMO.OfficeLength
- width OfficeIMO.OfficeLength
- height OfficeIMO.OfficeLength
- text string? = null
Returns
VisioShape