SoCGMVectorOutput Class |
Class used to write vector formatted CGM files.
Namespace: OIV.HardCopy
The SoCGMVectorOutput type exposes the following members.
Name | Description | |
---|---|---|
SoCGMVectorOutput | Constructor. |
Name | Description | |
---|---|---|
CloseFile | Closes the current file opened with OIV.HardCopy.SoVectorOutput.OpenFile(System.String). | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetVersion | Gets the version of the output CGM file. | |
IsBinary | Gets the output mode. | |
IsIndexed | Gets the color mode. | |
OpenFile | Opens named file. | |
SetBinary | Calls SetBinary(true). | |
SetBinary(Boolean) | Sets the output mode. | |
SetIndexed | Calls SetIndexed(true). | |
SetIndexed(Boolean) | Sets the color mode. | |
SetVersion | Calls SetVersion(1). | |
SetVersion(Int32) | Sets the version of the output CGM file. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.