NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.Diagramming.TextStyleBuilder Class Reference

Represents a TextStyleBuilder. More...

Inheritance diagram for NXOpen.Diagramming.TextStyleBuilder:
NXOpen.GeometricUtilities.IComponentBuilder

Public Types

enum  TextAlignmentType { Left, Center, Right }
 Represents the option NXOpen.Diagramming.TextStyleBuilder.TextAlignment for a NXOpen.Diagramming.TextStyleBuilder . More...
 
enum  TextAutoFitType { None, ResizeOutline, ShrinkText }
 Represents the option for a NXOpen.Diagramming.TextStyleBuilder . More...
 

Public Member Functions

unsafe bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 

Properties

unsafe
NXOpen.Diagramming.TextStyleBuilder.TextAlignmentType 
TextAlignment [get, set]
 Returns or sets the text alignment of the annotation More...
 
unsafe bool TextAllowWrapping [get, set]
 Returns or sets the text allow wrapping More...
 
unsafe
NXOpen.Diagramming.TextStyleBuilder.TextAutoFitType 
TextAutoFit [get, set]
 Returns or sets the text auto fit More...
 
unsafe
NXOpen.TextColorFontWidthBuilder 
TextColorFontWidth [get]
 Returns the text color font width More...
 
unsafe double TextHeight [get, set]
 Returns or sets the height of the annotation More...
 
unsafe bool TextOverlined [get, set]
 Returns or sets whether the text is overlined More...
 
unsafe bool TextUnderlined [get, set]
 Returns or sets whether the text is underlined More...
 

Detailed Description

Represents a TextStyleBuilder.

This is a sub-builder class and cannot be directly instantiated

Created in NX11.0.0

Member Enumeration Documentation

Represents the option NXOpen.Diagramming.TextStyleBuilder.TextAlignment for a NXOpen.Diagramming.TextStyleBuilder .

Enumerator
Left 
Center 
Right 

Represents the option for a NXOpen.Diagramming.TextStyleBuilder .

Enumerator
None 
ResizeOutline 
ShrinkText 

Member Function Documentation

unsafe bool NXOpen.Diagramming.TextStyleBuilder.Validate ( )

Validate whether the inputs to the component are sufficient for commit to be called.

If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.

Created in NX3.0.1

License requirements: None.

Returns
Was self validation successful

Implements NXOpen.GeometricUtilities.IComponentBuilder.

Property Documentation

unsafe NXOpen.Diagramming.TextStyleBuilder.TextAlignmentType NXOpen.Diagramming.TextStyleBuilder.TextAlignment
getset

Returns or sets the text alignment of the annotation

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Diagramming.TextStyleBuilder.TextAllowWrapping
getset

Returns or sets the text allow wrapping

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.Diagramming.TextStyleBuilder.TextAutoFitType NXOpen.Diagramming.TextStyleBuilder.TextAutoFit
getset

Returns or sets the text auto fit

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe NXOpen.TextColorFontWidthBuilder NXOpen.Diagramming.TextStyleBuilder.TextColorFontWidth
get

Returns the text color font width

Created in NX11.0.0

License requirements: None.

unsafe double NXOpen.Diagramming.TextStyleBuilder.TextHeight
getset

Returns or sets the height of the annotation

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Diagramming.TextStyleBuilder.TextOverlined
getset

Returns or sets whether the text is overlined

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.

unsafe bool NXOpen.Diagramming.TextStyleBuilder.TextUnderlined
getset

Returns or sets whether the text is underlined

Created in NX11.0.0

License requirements to get this property: None.

License requirements to set this property: None.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.