IDL Programming > Objects > File Format Object Classes > IDLffDXF::Init

IDLffDXF::Init

Syntax | Return Value | Arguments | Keywords | Version History

The IDLffDXF::Init function method initializes the DXF object.

Note: Init methods are special lifecycle methods, and as such cannot be called outside the context of object creation. This means that in most cases, you cannot call the Init method directly. There is one exception to this rule: If you write your own subclass of this class, you can call the Init method from within the Init method of the subclass.

Syntax

Result = OBJ_NEW('IDLffDXF' [, Filename] )

or

Result = Obj->[IDLffDXF::]Init( [Filename] )     (In a lifecycle method only.)

Return Value

When this method is called indirectly, as part of the call to the OBJ_NEW function, the return value is an object reference to the newly-created object.

When called directly within a subclass Init method, the return value is 1 if initialization was successful, or zero otherwise.

Arguments

Filename

A scalar string optional argument containing the full path and filename of a DXF file to be read as the object is created.

Keywords

None

Version History

5.2

Introduced