Class CgmFile

CgmFile class

CGM image class.

public class CgmFile

Properties

NameDescription
ColourIndexPrecision { get; set; }Gets or sets the current reading colour index precision
ColourModel { get; set; }Gets or sets the current reading colour model
ColourPrecision { get; set; }Gets or sets the current reading colour precision
ColourSelectionMode { get; set; }Gets or sets the current reading colour selecion mode
ColourValueExtentMaximumColorValueRGB { get; set; }Gets or sets the current reading MaximumColorValueRGB
ColourValueExtentMinimumColorValueRGB { get; set; }Gets or sets the current reading MinimumColorValueRGB
Commands { get; }The read CGM commands
DeviceViewportSpecificationMode { get; set; }Gets or sets the current reading DeviceViewportSpecificationMode
EdgeWidthSpecificationMode { get; set; }Gets or sets the current reading EdgeWidthSpecificationMode
IndexPrecision { get; set; }Gets or sets the current reading Index Precision
IntegerPrecision { get; set; }Gets or sets the current reading integer Precision
InteriorStyleSpecificationMode { get; set; }Gets or sets the current reading interior style SpecificationMode
LineWidthSpecificationMode { get; set; }Gets or sets the current reading LineWidthSpecificationMode
MarkerSizeSpecificationMode { get; set; }Gets or sets the current reading MarkerSizeSpecificationMode
Messages { get; }Any messages occured while reading or writing the file
Name { get; }Gets the name of the file
NamePrecision { get; set; }Gets or sets the current reading name Precision
RealPrecision { get; set; }Gets or sets the current reading real Precision
RealPrecisionProcessed { get; set; }Gets or sets the current reading real Precision processed flag
RestrictedTextType { get; set; }Gets or sets the current reading RestrictedTextType
VDCIntegerPrecision { get; set; }Gets or sets the current reading vdc integer Precision
VDCRealPrecision { get; set; }Gets or sets the current reading vdc real Precision
VDCType { get; set; }Gets or sets the current reading VDC Type

Methods

NameDescription
ApplyValues(CgmFile)Copies the current meta information
ContainsConsumableNumber(string)Determines whether CGM contains a specific consumable number text
ContainsFigureItemText(string)Determines whether CGM contains a specific figure item text.
ContainsTextElement(string)Determines whether any text element equals the specified text.
ContainsTorqueTextToFigItem(string, string)Determines whether the torque text (“20 Nm (177 lb-in)” exists nearby the figure item)
GetFigureItemTexts(bool)Gets all texts of the figure items.
GetGraphicName()Gets the title of the illustration.
GetInformation(TextCommand)
GetMetaTitle()Gets the title.
GetRectangles()Gets all found rectangles.
IsWrittenDownToUp(TextCommand)Determines whether text is rotated 90 dec counterwise
ResetMetaDefinitions()Resets settings like VDCRealPrecision or ColourModel

See Also