API Reference
VisioTextStyle
Reusable text style for the full text block of a Visio shape.
Inheritance
- Object
- VisioTextStyle
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property VisioBlockDiagramTheme.BlockTextStyle
- Property VisioBlockDiagramTheme.ConnectorTextStyle
- Property VisioBlockDiagramTheme.EmphasisTextStyle
- Property VisioBlockDiagramTheme.LegendTextStyle
- Property VisioBlockDiagramTheme.RegionTextStyle
- Property VisioBlockDiagramTheme.TitleTextStyle
- Property VisioFlowchartTheme.ConnectorTextStyle
- Property VisioFlowchartTheme.DecisionTextStyle
- Property VisioFlowchartTheme.MarkerTextStyle
- Property VisioFlowchartTheme.ProcessTextStyle
- Property VisioFlowchartTheme.TerminatorTextStyle
- Property VisioFlowchartTheme.TitleTextStyle
- Property VisioConnector.TextStyle
- Property VisioConnectorStyle.TextStyle
- Property VisioShape.TextStyle
- Property VisioShapeStyle.TextStyle
- Method VisioTextStyle.Clone
Accepted by parameters
- Method VisioFluentConnector.TextStyle
- Extension method VisioConnector.ApplyTextStyle
- Extension method VisioConnectorSelection.ApplyTextStyle
- Extension method VisioShape.ApplyTextStyle
- Extension method VisioShapeSelection.ApplyTextStyle
- Method VisioStyleExtensions.ApplyTextStyle
- Method VisioStyleExtensions.ApplyTextStyle
- Method VisioStyleExtensions.ApplyTextStyle
- Method VisioStyleExtensions.ApplyTextStyle
Constructors
public VisioTextStyle() #Methods
Inherited Methods
Properties
public String FontFamily { get; set; } #Font family name, such as Aptos or Calibri.
public Nullable<OfficeColor> Color { get; set; } #Text color.
public Nullable<Double> Size { get; set; } #Font size in points.
public Nullable<Boolean> Bold { get; set; } #Whether text is bold.
public Nullable<Boolean> Italic { get; set; } #Whether text is italic.
public Nullable<Boolean> Underline { get; set; } #Whether text is underlined.
public Nullable<VisioTextHorizontalAlignment> HorizontalAlignment { get; set; } #Horizontal text alignment.
public Nullable<VisioTextVerticalAlignment> VerticalAlignment { get; set; } #Vertical text alignment.
public Nullable<Double> LeftMargin { get; set; } #Left text margin in inches.
public Nullable<Double> RightMargin { get; set; } #Right text margin in inches.
public Nullable<Double> TopMargin { get; set; } #Top text margin in inches.
public Nullable<Double> BottomMargin { get; set; } #Bottom text margin in inches.
public Nullable<Double> TextPinX { get; set; } #Text block pin X relative to the shape origin, in inches.
public Nullable<Double> TextPinY { get; set; } #Text block pin Y relative to the shape origin, in inches.
public Nullable<Double> TextWidth { get; set; } #Text block width in inches.
public Nullable<Double> TextHeight { get; set; } #Text block height in inches.
public Nullable<Double> TextLocPinX { get; set; } #Text block local pin X relative to the text block origin, in inches.
public Nullable<Double> TextLocPinY { get; set; } #Text block local pin Y relative to the text block origin, in inches.
public Nullable<Double> TextAngle { get; set; } #Text block rotation angle in radians.
public Nullable<OfficeColor> BackgroundColor { get; set; } #Text block background color.
public Nullable<Double> BackgroundTransparency { get; set; } #Text block background transparency, using Visio's 0-100 scale.