API Reference
VisioTextStyle
Reusable text style for the full text block of a Visio shape.
Inheritance
- Object
- VisioTextStyle
Usage
Explore 16 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.
Returned or exposed by 10
- Property VisioConnector.TextStyle
- Property VisioConnectorStyle.TextStyle
- Property VisioContainerInfo.TextStyle
- Property VisioContainerOptions.TextStyle
- Property VisioDataGraphicItem.LabelTextStyle
- Property VisioShape.TextStyle
- Property VisioShapeStyle.TextStyle
- Property VisioStyleTheme.LegendText
- Property VisioStyleTheme.TitleText
- Method VisioTextStyle.Clone
Accepted by parameters 6
- Method VisioFluentConnector.TextStyle
- Extension method VisioConnector.ApplyTextStyle
- Extension method VisioConnectorSelection.ApplyTextStyle
- Extension method VisioShape.ApplyTextStyle
- Extension method VisioShapeSelection.ApplyTextStyle
- Method VisioStyleExtensions.ApplyTextStyle
Constructors
public VisioTextStyle() #Methods
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String? FontFamily { get; set; } #Font family name, such as Aptos or Calibri.
public Boolean? Underline { get; set; } #Whether text is underlined. This compatibility property maps to a single underline.
public OfficeTextDecorationStyle? UnderlineStyle { get; set; } #Native underline variant. Visio supports none, single, and double.
public Boolean? Strikethrough { get; set; } #Whether text has strikethrough. This compatibility property maps to a single strike line.
public OfficeTextDecorationStyle? StrikethroughStyle { get; set; } #Native strikethrough variant. Visio supports none, single, and double.
public Boolean? SmallCaps { get; set; } #Whether Visio's native small-capital style bit is active.
public VisioTextCapitalization? Capitalization { get; set; } #Native display-time capitalization mode.
public VisioTextHorizontalAlignment? HorizontalAlignment { get; set; } #Horizontal text alignment.
public VisioTextVerticalAlignment? VerticalAlignment { get; set; } #Vertical text alignment.
public Double? TextPinX { get; set; } #Text block pin X relative to the shape origin, in inches.
public Double? TextPinY { get; set; } #Text block pin Y relative to the shape origin, in inches.
public Double? TextLocPinX { get; set; } #Text block local pin X relative to the text block origin, in inches.
public Double? TextLocPinY { get; set; } #Text block local pin Y relative to the text block origin, in inches.
public OfficeColor? BackgroundColor { get; set; } #Text block background color. A color with zero alpha explicitly disables the background.
public Double? BackgroundTransparency { get; set; } #Text block background transparency as a percentage from 0 (opaque) to 100 (transparent).