NXOpen .NET Reference  12.0.0
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:

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 SetScaleAndAspectRatio (double scale, double aspectRatio)
 Sets the scale and aspect ratio More...
 
unsafe void SetLengthAndHeight (double length, double height)
 Sets the length and height More...
 

Protected Member Functions

override void FreeResource ()
 Frees the object from memory. 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 ( )
protected

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.

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

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 
)

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 
)

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 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.