ComponentOne FlexReport for WinForms
Unit Structure Methods

C1.Win.C1Document.4 Assembly > C1.Win.C1Document Namespace : Unit Structure

For a list of all members of this type, see Unit members.

Public Methods
 NameDescription
Public MethodOverloaded. Converts value of this Unit structure to value in specified units of measurement.  
Public Methodstatic (Shared in Visual Basic)Parses a string and creates a Unit instance from that string, throws an exception if string is invalid.  
Public Methodstatic (Shared in Visual Basic)Converts a string to a UnitTypeEnum value. The string can be one of the following: "doc", "in", "mm", "pc", "dsp", "pt", "tw", "inhs", "cm", "dip". This method is case-insensitive.  
Public MethodConverts the current object to a string.  
Public Methodstatic (Shared in Visual Basic)Overloaded. Parses a string and gets Value and Unit.Utits from that string.  
Public Methodstatic (Shared in Visual Basic)Converts a UnitTypeEnum value to a string representation as in the following table:
  • Document"doc"
  • Inch"in"
  • Millimeter"mm"
  • Pica"pc"
  • Point"pt"
  • Twip"tw"
  • InHs"inhs"
  • Centimeters"cm"
  • Dip"dip"
 
Top
See Also

Reference

Unit Structure
C1.Win.C1Document Namespace