VisioShapeSheetExtensions
OfficeIMO.Visio
Typed access to source-preserved Visio ShapeSheet sections.
Inheritance
- object
- VisioShapeSheetExtensions
Methods
public static IReadOnlyList<VisioShapeSheetSection> GetShapeSheetSections(VisioShape shape) #Returns source-preserved ShapeSheet sections, including native text rows with current typed edits.
Parameters
- shape OfficeIMO.Visio.VisioShape
Returns
IReadOnlyList<VisioShapeSheetSection>public static IReadOnlyList<VisioShapeSheetSection> GetShapeSheetSections(VisioConnector connector) #Returns source-preserved ShapeSheet sections, including native text rows with current typed edits.
Parameters
- connector OfficeIMO.Visio.VisioConnector
Returns
IReadOnlyList<VisioShapeSheetSection>public static bool RemoveShapeSheetSection(VisioShape shape, string name) #Removes a source-preserved section and clears any typed formatting owned by that text section.
Parameters
- shape OfficeIMO.Visio.VisioShape
- name string
Returns
boolpublic static bool RemoveShapeSheetSection(VisioConnector connector, string name) #Removes a source-preserved section and clears any typed formatting owned by that text section.
Parameters
- connector OfficeIMO.Visio.VisioConnector
- name string
Returns
boolpublic static VisioShape SetShapeSheetSection(VisioShape shape, VisioShapeSheetSection section) #Sets a typed ShapeSheet section without disturbing other preserved sections.
Parameters
- shape OfficeIMO.Visio.VisioShape
- section OfficeIMO.Visio.VisioShapeSheetSection
Returns
VisioShapepublic static VisioConnector SetShapeSheetSection(VisioConnector connector, VisioShapeSheetSection section) #Sets a typed ShapeSheet section without disturbing other preserved sections.
Parameters
- connector OfficeIMO.Visio.VisioConnector
- section OfficeIMO.Visio.VisioShapeSheetSection
Returns
VisioConnector