Click or drag to resize
SoCGMVectorOutput Class

Class used to write vector formatted CGM files.

Inheritance Hierarchy

Namespace: OIV.HardCopy
Assembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public class SoCGMVectorOutput : SoVectorOutput

The SoCGMVectorOutput type exposes the following members.

Constructors
  NameDescription
Public methodSoCGMVectorOutput

Constructor.

Top
Methods
  NameDescription
Public methodCloseFile

Closes the current file opened with OIV.HardCopy.SoVectorOutput.OpenFile(System.String).

(Inherited from SoVectorOutput.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVersion

Gets the version of the output CGM file.

Public methodIsBinary

Gets the output mode.

Public methodIsIndexed

Gets the color mode.

Public methodOpenFile

Opens named file.

(Inherited from SoVectorOutput.)
Public methodSetBinary
Calls SetBinary(true).
Public methodSetBinary(Boolean)

Sets the output mode.

Public methodSetIndexed
Calls SetIndexed(true).
Public methodSetIndexed(Boolean)

Sets the color mode.

Public methodSetVersion
Calls SetVersion(1).
Public methodSetVersion(Int32)

Sets the version of the output CGM file.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

This class is used for writing vector formatted files in CGM format. It provides some convenience functions for handling files. An instance of OIV.HardCopy.SoCGMVectorOutput is contained in an OIV.HardCopy.SoVectorizeCGMAction; this is typically the only instance needed.

The environment variable OIV_CGM_HARDCOPY_BUFSIZE specifies the buffer size in bytes for storing CGM calls before writing them to the disk. The default buffer size is 1048576 bytes (1 megabyte). If set to 1, no buffering is done.

See Also