Library | Package Java Toolkit

Class CGMExportType

package com.ptc.pfc.pfcModel;

public class CGMExportType
  implements jxenum



Description

Enumeration that indicates whether a CGM export file should be ASCII (clear text) or binary (mil spec).

For more information about exporting CGM files, refer to the Interface section of the Creo Parametric help.
See Also:
pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType), Model.Export(String, ExportInstructions)



Field Summary
static final int_EXPORT_CGM_CLEAR_TEXT
    Integer value of enum value "EXPORT_CGM_CLEAR_TEXT"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate that a CGM export file should be ASCII.
static final CGMExportTypeEXPORT_CGM_CLEAR_TEXT
    Object value of enum value "EXPORT_CGM_CLEAR_TEXT"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate that a CGM export file should be ASCII.
static final int_EXPORT_CGM_MIL_SPEC
    Integer value of enum value "EXPORT_CGM_MIL_SPEC"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate that a CGM export file should be binary.
static final CGMExportTypeEXPORT_CGM_MIL_SPEC
    Object value of enum value "EXPORT_CGM_MIL_SPEC"
    Passed to pfcModel.CGMFILEExportInstructions_Create(CGMExportType, CGMScaleType) to indicate that a CGM export file should be binary.
static final int_CGMExportType_null
    Enum null value.

Method Summary
static CGMExportTypeFromInt (int value)
    Creates enum object from an integer.
static CGMExportTypeFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static CGMExportTypeFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static CGMExportTypeFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.