NXOpen .NET Reference Guide  1899
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Types | Public Member Functions | Protected Member Functions | List of all members
NXOpen.Annotations.UserSymbolPreferences Class Reference

Represents preferences related to user-defined symbols More...

Inheritance diagram for NXOpen.Annotations.UserSymbolPreferences:
NXOpen.TransientObject NXOpen.Utilities.NXRemotableObject IDisposable IMessageSink

Public Types

enum  SizeType { LengthHeight, ScaleAspectRatio }
 Specifies whether length and height or scale and aspect ratio is used in specifying the size of the symbol More...
 

Public Member Functions

unsafe void GetSize (out NXOpen.Annotations.UserSymbolPreferences.SizeType sizeType, out double lengthOrScale, out double heightOrAspectRatio)
 Gets the size preference More...
 
unsafe void SetLengthAndHeight (double length, double height)
 Sets the length and height More...
 
unsafe void SetScaleAndAspectRatio (double scale, double aspectRatio)
 Sets the scale and aspect ratio More...
 
- Public Member Functions inherited from NXOpen.TransientObject
void Dispose ()
 Frees the object from memory. More...
 
void PrintTestData (String variableName)
 <exclude> More...
 
void PrintTestData (String variableName, int lineNumber)
 <exclude> More...
 
new string ToString ()
 Returns a String that represents the current Object. More...
 
- Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject
IMessageCtrl AsyncProcessMessage (IMessage msg, IMessageSink replySink)
 Asynchronously processes the given message. More...
 
IMessage SyncProcessMessage (IMessage msg)
 Synchronously processes the given message. More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. More...
 

Additional Inherited Members

- Properties inherited from NXOpen.TransientObject
IntPtr Handle [get]
 Handle of the internal object represented by this object. More...
 

Detailed Description

Represents preferences related to user-defined symbols

Created in NX3.0.0

Member Enumeration Documentation

Specifies whether length and height or scale and aspect ratio is used in specifying the size of the symbol

Enumerator
LengthHeight 

length and height

ScaleAspectRatio 

scale and aspect ratio

Member Function Documentation

override void NXOpen.Annotations.UserSymbolPreferences.FreeResource ( )
inlineprotectedvirtual

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Created in NX3.0.0

License requirements: None.

Implements NXOpen.TransientObject.

unsafe void NXOpen.Annotations.UserSymbolPreferences.GetSize ( out NXOpen.Annotations.UserSymbolPreferences.SizeType  sizeType,
out double  lengthOrScale,
out double  heightOrAspectRatio 
)
inline

Gets the size preference

Created in NX3.0.0

License requirements: None.

Parameters
sizeTypeSpecifies whether length and height or scale and aspect ratio is used
lengthOrScaleLength or scale
heightOrAspectRatioHeight or aspect ratio
unsafe void NXOpen.Annotations.UserSymbolPreferences.SetLengthAndHeight ( double  length,
double  height 
)
inline

Sets the length and height

Created in NX3.0.0

License requirements: None.

Parameters
length
height
unsafe void NXOpen.Annotations.UserSymbolPreferences.SetScaleAndAspectRatio ( double  scale,
double  aspectRatio 
)
inline

Sets the scale and aspect ratio

Created in NX3.0.0

License requirements: None.

Parameters
scale
aspectRatio

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