NXOpen C++ Reference Guide
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
NXOpen::TDP::TemplateEditCellBuilder Class Reference

Represents a Edit Cell builder
To create a new instance of this class, use NXOpen::TDP::Manager::CreateTemplateEditcellBuilder
Default values. More...

Inheritance diagram for NXOpen::TDP::TemplateEditCellBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

Public Types

enum  TextJustificationType { TextJustificationTypeLeft, TextJustificationTypeCenter, TextJustificationTypeRight }
 Represents the option NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType for a NXOpen::TDP::TemplateEditCellBuilder . More...
 

Public Member Functions

void SetTextHeight (double height)
 Sets the height of the cell
Created in NX1847.0.0. More...
 
void SetTextJustification (NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType alignment)
 Sets the text alignment of the cell
Created in NX1847.0.0. More...
 
NXOpen::Annotations::TextWithEditControlsBuilderText ()
 Returns the text
Created in NX1847.0.0. More...
 
NXOpen::TextColorFontWidthBuilderTextColorFontWidth ()
 Returns the text color font width
Created in NX1847.0.0. More...
 
double TextHeight ()
 Returns the height of the cell
Created in NX1847.0.0. More...
 
NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType TextJustification ()
 Returns the text alignment of the cell
Created in NX1847.0.0. More...
 
- Public Member Functions inherited from NXOpen::Builder
NXOpen::NXObjectCommit ()
 Commits any edits that have been applied to the builder. More...
 
void Destroy ()
 Deletes the builder, and cleans up any objects created by the builder. More...
 
std::vector< NXOpen::NXObject * > GetCommittedObjects ()
 For builders that create more than one object, this method returns the objects that are created by commit. More...
 
NXOpen::NXObjectGetObject ()
 Returns the object currently being edited by this builder. More...
 
void ShowResults ()
 Updates the model to reflect the result of an edit to the model for all builders that support showing results. More...
 
virtual bool Validate ()
 Validate whether the inputs to the component are sufficient for commit to be called. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a Edit Cell builder
To create a new instance of this class, use NXOpen::TDP::Manager::CreateTemplateEditcellBuilder
Default values.

Property Value

Text.TextBlock.CustomSymbolScale

1.0

Text.TextBlock.SymbolAspectRatio

1.0

Text.TextBlock.SymbolHeight

25.4 (millimeters part), 1.0 (inches part)

Text.TextBlock.SymbolLength

25.4 (millimeters part), 1.0 (inches part)

Text.TextBlock.SymbolPreferences

UseCurrent

Text.TextBlock.SymbolScale

1.0

Text.TextBlock.SymbolSizeMethod

ScaleAndAspectRatio


Created in NX1847.0.0.

Member Enumeration Documentation

Represents the option NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType for a NXOpen::TDP::TemplateEditCellBuilder .


Created in NX1847.0.0.

Enumerator
TextJustificationTypeLeft 

left

TextJustificationTypeCenter 

center

TextJustificationTypeRight 

right

Member Function Documentation

void NXOpen::TDP::TemplateEditCellBuilder::SetTextHeight ( double  height)

Sets the height of the cell
Created in NX1847.0.0.



License requirements : None

Parameters
heightheight
void NXOpen::TDP::TemplateEditCellBuilder::SetTextJustification ( NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType  alignment)

Sets the text alignment of the cell
Created in NX1847.0.0.



License requirements : None

Parameters
alignmentalignment
NXOpen::Annotations::TextWithEditControlsBuilder* NXOpen::TDP::TemplateEditCellBuilder::Text ( )

Returns the text
Created in NX1847.0.0.



License requirements : None

NXOpen::TextColorFontWidthBuilder* NXOpen::TDP::TemplateEditCellBuilder::TextColorFontWidth ( )

Returns the text color font width
Created in NX1847.0.0.



License requirements : None

double NXOpen::TDP::TemplateEditCellBuilder::TextHeight ( )

Returns the height of the cell
Created in NX1847.0.0.



License requirements : None

NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType NXOpen::TDP::TemplateEditCellBuilder::TextJustification ( )

Returns the text alignment of the cell
Created in NX1847.0.0.



License requirements : None


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